summaryrefslogtreecommitdiff
path: root/scripts/update
Side-by-side diff
Diffstat (limited to 'scripts/update') (more/less context) (ignore whitespace changes)
-rwxr-xr-xscripts/update/opie-update.postinst18
1 files changed, 1 insertions, 17 deletions
diff --git a/scripts/update/opie-update.postinst b/scripts/update/opie-update.postinst
index de045a4..d42169b 100755
--- a/scripts/update/opie-update.postinst
+++ b/scripts/update/opie-update.postinst
@@ -1,7 +1,7 @@
-#!/bin/bash -v
+#!/bin/bash
#
# script to remove and reinstall opie
#
# it's free so do not sell it
# (c) patrick s. vogtp <tille@handhelds.org>
@@ -19,28 +19,12 @@ echo "start" > /tmp/update.log
for p in $pack; do
cmd="$IPKG_REMOVE $p"
echo "rem. $p" >> /tmp/update.log
$cmd
done
-#to be sure...
-#... to have an endless loop ;-)
-# so comment it!
-#pack2=`ipkg status | grep Package | grep -i opie | sed "s/Package://"`
-#while [ $pack2 != "" ]
-#do
-#echo "debug: while loop: $pack2"
-#for p in $pack2; do
-#echo "debug for loop: $p"
-#cmd="$IPKG_REMOVE $p"
-#echo "$cmd"
-#$cmd
-#done
-#pack2=`ipkg status | grep Package | grep -i opie | sed "s/Package://"`
-#done;
-
#might help
sync
echo "Updateing"
`ipkg update`