]> git.saurik.com Git - cydia.git/blob - Library/startup
Separate out Version.mm: faster compile.
[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
17 killall -9 Lowtide AppleTV
18 fi
19
20 if [[ ${cache+@} ]]; then
21 su -c uicache mobile
22 fi