]>
Commit | Line | Data |
---|---|---|
30d83bfe | 1 | #!/bin/bash |
5225a136 | 2 | |
4f6ea29d | 3 | export PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin |
da289b03 | 4 | sbdidlaunch |
5225a136 JF |
5 | |
6 | if [[ ! -e /var/lib/cydia/firmware.ver ]]; then | |
7 | cache= | |
8 | fi | |
9 | ||
da289b03 | 10 | /usr/libexec/cydia/firmware.sh |
5225a136 | 11 | |
fdb40366 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[@]}" | |
5225a136 JF |
16 | cache= |
17 | fi | |
18 | ||
19 | if [[ ${cache+@} ]]; then | |
da289b03 | 20 | su -c uicache mobile |
fdb40366 | 21 | fi |