projects
/
cydia.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed a bug in Homepage:/Website: and worked around a bug in 3.0 icon caches.
[cydia.git]
/
Library
/
startup
diff --git
a/Library/startup
b/Library/startup
index 7ee6cd3e54f022fd58793c37a9536a043ebe2a15..171b8edfb928bfda30349c62537ac37842d00fed 100755
(executable)
--- 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
#!/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