summaryrefslogtreecommitdiff
path: root/scripts/update/opie-update.postinst
Side-by-side diff
Diffstat (limited to 'scripts/update/opie-update.postinst') (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