summaryrefslogtreecommitdiff
path: root/Library
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2008-07-13 12:18:54 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2010-09-30 07:08:07 +0000
commita781cf0d59966f9a6ada482efddc1c1b2990c92b (patch)
tree0ec5b29f4e92d34341ed7f65d6c057981d9c296e /Library
parentf5ba824fce801461fd4b4d9749aa9d4382f6ce81 (diff)
Fixed dependencies during AutioInstall.
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/startup7
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/startup b/Library/startup
index b75654f..552dcb0 100755
--- a/Library/startup
+++ b/Library/startup
@@ -1,6 +1,7 @@
#!/bin/bash
+export PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin
sysctl -w security.mac.proc_enforce=0 security.mac.vnode_enforce=0 &>/dev/null
/usr/libexec/cydia/firmware.sh
-for deb in /var/mobile/Media/Cydia/AutoInstall/*.deb; do
- /usr/bin/dpkg -i "${deb}" && /bin/rm "${deb}"
-done
+debs=/var/root/Media/Cydia/AutoInstall/*.deb
+dpkg -i ${debs}
+rm -f ${debs}