summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-02-26 12:45:54 +0000
committerJay Freeman <saurik@saurik.com>2008-02-26 12:45:54 +0000
commit2929787a0d36d22727430de2d47d46dd0de8934a (patch)
tree77b3b56c6a04820923a93c718295bfcdd60657e1
parent1e318d8b7a759cb5c4ba2da1571daf4080f0fe5d (diff)
Added more wiggle room to the space contraints in the bootstrap package.
git-svn-id: http://svn.telesphoreo.org/trunk@109 514c082c-b64e-11dc-b46d-3d985efe055d
-rwxr-xr-xover/usr/libexec/cydia_/install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/over/usr/libexec/cydia_/install.sh b/over/usr/libexec/cydia_/install.sh
index bce209557..5c1d85d3d 100755
--- a/over/usr/libexec/cydia_/install.sh
+++ b/over/usr/libexec/cydia_/install.sh
@@ -22,7 +22,7 @@ do if [[ -d ${dir} && ! -h ${dir} ]]; then
used=${used%%$'\t'*}
free=$(df_ /var)
- if [[ ${used} -lt ${free} ]]; then
+ if [[ $((used + 524288)) -lt ${free} ]]; then
base=$(basename "${dir}")
new=/var/${base}
@@ -35,4 +35,4 @@ do if [[ -d ${dir} && ! -h ${dir} ]]; then
fi
fi; done
-[[ $(df_ /) -gt 33554432 && $(df_ /var) -gt 33554432 ]]
+[[ $(df_ /) -gt 35651584 && $(df_ /var) -gt 35651584 ]]