summaryrefslogtreecommitdiff
authortille <tille>2002-06-24 17:03:02 (UTC)
committer tille <tille>2002-06-24 17:03:02 (UTC)
commitdb5385bc16f56b4c5b84ad4a92ac6bdd46eea321 (patch) (side-by-side diff)
tree160e2c2b49ed844b7c83b99ee341ef9e03e13e28
parent0b3348fb1177e479b73ac264048b440ceeb24710 (diff)
downloadopie-db5385bc16f56b4c5b84ad4a92ac6bdd46eea321.zip
opie-db5385bc16f56b4c5b84ad4a92ac6bdd46eea321.tar.gz
opie-db5385bc16f56b4c5b84ad4a92ac6bdd46eea321.tar.bz2
hmm
Diffstat (more/less context) (ignore whitespace changes)
-rwxr-xr-xscripts/update/opie-update.postinst11
1 files changed, 7 insertions, 4 deletions
diff --git a/scripts/update/opie-update.postinst b/scripts/update/opie-update.postinst
index d42169b..b86bc31 100755
--- a/scripts/update/opie-update.postinst
+++ b/scripts/update/opie-update.postinst
@@ -20,5 +20,7 @@ for p in $pack; do
cmd="$IPKG_REMOVE $p"
echo "rem. $p" >> /tmp/update.log
-$cmd
+if [$p!="opie-update]; then
+$cmd;
+fi
done
@@ -27,5 +29,5 @@ sync
-echo "Updateing"
+echo "Updating"
`ipkg update`
@@ -33,6 +35,7 @@ for p in $pack; do
cmd="$IPKG_INSTALL $p"
echo "inst. $p" >> /tmp/update.log
-echo "$cmd"
-$cmd
+if [$p!="opie-update]; then
+$cmd;
+fi
done