summaryrefslogtreecommitdiff
path: root/scripts/update
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 /scripts/update
parent0b3348fb1177e479b73ac264048b440ceeb24710 (diff)
downloadopie-db5385bc16f56b4c5b84ad4a92ac6bdd46eea321.zip
opie-db5385bc16f56b4c5b84ad4a92ac6bdd46eea321.tar.gz
opie-db5385bc16f56b4c5b84ad4a92ac6bdd46eea321.tar.bz2
hmm
Diffstat (limited to 'scripts/update') (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
@@ -19,21 +19,24 @@ echo "start" > /tmp/update.log
for p in $pack; do
cmd="$IPKG_REMOVE $p"
echo "rem. $p" >> /tmp/update.log
-$cmd
+if [$p!="opie-update]; then
+$cmd;
+fi
done
#might help
sync
-echo "Updateing"
+echo "Updating"
`ipkg update`
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
ipkg remove opie-update