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