summaryrefslogtreecommitdiff
path: root/scripts/update
authortille <tille>2002-06-24 16:50:47 (UTC)
committer tille <tille>2002-06-24 16:50:47 (UTC)
commit0b3348fb1177e479b73ac264048b440ceeb24710 (patch) (unidiff)
tree5ee3bd458a4d9a12f0d6af2ba2b4fe95672c7898 /scripts/update
parent47bc69a49790ad8f055ab2647246e2c821cef85d (diff)
downloadopie-0b3348fb1177e479b73ac264048b440ceeb24710.zip
opie-0b3348fb1177e479b73ac264048b440ceeb24710.tar.gz
opie-0b3348fb1177e479b73ac264048b440ceeb24710.tar.bz2
Das Dreckscript opie-update
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 @@
1#!/bin/bash -v 1#!/bin/bash
2# 2#
3# script to remove and reinstall opie 3# script to remove and reinstall opie
4# 4#
5# it's free so do not sell it 5# it's free so do not sell it
6# (c) patrick s. vogtp <tille@handhelds.org> 6# (c) patrick s. vogtp <tille@handhelds.org>
7 7
@@ -19,28 +19,12 @@ 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 22$cmd
23done 23done
24 24
25#to be sure...
26#... to have an endless loop ;-)
27# so comment it!
28#pack2=`ipkg status | grep Package | grep -i opie | sed "s/Package://"`
29#while [ $pack2 != "" ]
30#do
31#echo "debug: while loop: $pack2"
32#for p in $pack2; do
33#echo "debug for loop: $p"
34#cmd="$IPKG_REMOVE $p"
35#echo "$cmd"
36#$cmd
37#done
38#pack2=`ipkg status | grep Package | grep -i opie | sed "s/Package://"`
39#done;
40
41#might help 25#might help
42sync 26sync
43 27
44 28
45echo "Updateing" 29echo "Updateing"
46`ipkg update` 30`ipkg update`