]>
Commit | Line | Data |
---|---|---|
aa5e5990 | 1 | #!/bin/bash |
fde34135 | 2 | |
a781cf0d | 3 | export PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin |
fde34135 JF |
4 | |
5 | if [[ ! -e /var/lib/cydia/firmware.ver ]]; then | |
6 | cache= | |
7 | fi | |
8 | ||
8f4edcae | 9 | /usr/libexec/cydia/firmware.sh |
fde34135 | 10 | |
4ef0751a JF |
11 | debs=(/var/root/Media/Cydia/AutoInstall/*.deb) |
12 | if [[ ${#debs[@]} -ne 0 && -f ${debs[0]} ]]; then | |
76fb4bac | 13 | dpkg -i "${debs[@]}" 2>/tmp/dpkg.log 1>&2 |
4ef0751a | 14 | rm -f "${debs[@]}" |
fde34135 | 15 | cache= |
60a10e1f JF |
16 | |
17 | killall -9 Lowtide AppleTV | |
fde34135 JF |
18 | fi |
19 | ||
20 | if [[ ${cache+@} ]]; then | |
3ef53992 | 21 | sbdidlaunch |
8f4edcae | 22 | su -c uicache mobile |
4ef0751a | 23 | fi |