]> git.saurik.com Git - cydia.git/blob - Library/startup
Display the size of the output package after dpkg-deb.
[cydia.git] / Library / startup
1 #!/bin/bash
2
3 export PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin
4
5 if [[ ! -e /var/lib/cydia/firmware.ver ]]; then
6 cache=
7 fi
8
9 /usr/libexec/cydia/firmware.sh
10
11 debs=(/var/root/Media/Cydia/AutoInstall/*.deb)
12 if [[ ${#debs[@]} -ne 0 && -f ${debs[0]} ]]; then
13 dpkg -i "${debs[@]}"
14 rm -f "${debs[@]}"
15 cache=
16 fi
17
18 if [[ ${cache+@} ]]; then
19 su -c uicache mobile
20 fi