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