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