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) (unidiff)
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
19for p in $pack; do 19for p in $pack; do
20cmd="$IPKG_REMOVE $p" 20cmd="$IPKG_REMOVE $p"
21echo "rem. $p" >> /tmp/update.log 21echo "rem. $p" >> /tmp/update.log
22$cmd 22if [$p!="opie-update]; then
23$cmd;
24fi
23done 25done
24 26
25#might help 27#might help
26sync 28sync
27 29
28 30
29echo "Updateing" 31echo "Updating"
30`ipkg update` 32`ipkg update`
31 33
32for p in $pack; do 34for p in $pack; do
33cmd="$IPKG_INSTALL $p" 35cmd="$IPKG_INSTALL $p"
34echo "inst. $p" >> /tmp/update.log 36echo "inst. $p" >> /tmp/update.log
35echo "$cmd" 37if [$p!="opie-update]; then
36$cmd 38$cmd;
39fi
37done 40done
38 41
39ipkg remove opie-update 42ipkg remove opie-update