X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/8b7435911a3fcbce8e22d56b487bd3557bbfe4a5..6981ccdf8bbbf6c2b96c6bdf5958cd2a1acc63a5:/Library/startup diff --git a/Library/startup b/Library/startup index 6efc471d..171b8edf 100755 --- a/Library/startup +++ b/Library/startup @@ -1,7 +1,8 @@ #!/bin/bash export PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin /usr/libexec/cydia/firmware.sh -/usr/libexec/cydia/space.sh -debs=/var/root/Media/Cydia/AutoInstall/*.deb -dpkg -i ${debs} -rm -f ${debs} +debs=(/var/root/Media/Cydia/AutoInstall/*.deb) +if [[ ${#debs[@]} -ne 0 && -f ${debs[0]} ]]; then + dpkg -i "${debs[@]}" + rm -f "${debs[@]}" +fi