]>
Commit | Line | Data |
---|---|---|
30d83bfe | 1 | #!/bin/bash |
4f6ea29d | 2 | export PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin |
da289b03 JF |
3 | sbdidlaunch |
4 | /usr/libexec/cydia/firmware.sh | |
fdb40366 JF |
5 | debs=(/var/root/Media/Cydia/AutoInstall/*.deb) |
6 | if [[ ${#debs[@]} -ne 0 && -f ${debs[0]} ]]; then | |
7 | dpkg -i "${debs[@]}" | |
8 | rm -f "${debs[@]}" | |
da289b03 JF |
9 | su -c uicache mobile |
10 | elif ! grep Cydia /var/mobile/Library/Caches/com.apple.mobile.installation.plist &>/dev/null; then | |
11 | su -c uicache mobile | |
fdb40366 | 12 | fi |