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