diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2008-12-09 07:55:37 +0000 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2010-09-30 07:09:04 +0000 |
commit | 4ef0751af2a5cae1b09491205224a97e819d8a7a (patch) | |
tree | 4fc27cdfd31827eba42481d00f2006ae07b42750 /Library/startup | |
parent | fefdda6bcfde597dac30b4f18341a0598cff98c1 (diff) |
Removed harmless error message from startup.
Diffstat (limited to 'Library/startup')
-rwxr-xr-x | Library/startup | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Library/startup b/Library/startup index 7ee6cd3..171b8ed 100755 --- a/Library/startup +++ b/Library/startup @@ -1,6 +1,8 @@ #!/bin/bash export PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin /usr/libexec/cydia/firmware.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 |