X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/99dc9e9142026c4f6db24b35f6c5f26ac711d484..da289b0369277af041bc8dfdf654002a4bb37d1e:/Library/startup?ds=sidebyside diff --git a/Library/startup b/Library/startup index 7f8b616f..edceed16 100755 --- a/Library/startup +++ b/Library/startup @@ -1,7 +1,12 @@ #!/bin/bash export PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin +sbdidlaunch +/usr/libexec/cydia/firmware.sh debs=(/var/root/Media/Cydia/AutoInstall/*.deb) if [[ ${#debs[@]} -ne 0 && -f ${debs[0]} ]]; then dpkg -i "${debs[@]}" rm -f "${debs[@]}" + su -c uicache mobile +elif ! grep Cydia /var/mobile/Library/Caches/com.apple.mobile.installation.plist &>/dev/null; then + su -c uicache mobile fi