summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rwxr-xr-xscripts/update/opie-update.postinst5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/update/opie-update.postinst b/scripts/update/opie-update.postinst
index 02129d0..22d3628 100755
--- a/scripts/update/opie-update.postinst
+++ b/scripts/update/opie-update.postinst
@@ -4,12 +4,13 @@
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
8IPKG_REMOVE="ipkg remove" 8IPKG_REMOVE="ipkg remove"
9IPKG_INSTALL="ipkg install" 9IPKG_INSTALL="ipkg install"
10
10echo "Upating opie" 11echo "Upating opie"
11pack=`ipkg status | grep Package | grep -i opie | grep -v update | sed "s/Package://"` 12pack=`ipkg status | grep Package | grep -i opie | grep -v update | sed "s/Package://"`
12 13
13echo "Stopping Opie" 14echo "Stopping Opie"
14/etc/init.d/opie stop || /etc/init.d/qpe stop 15/etc/init.d/opie stop || /etc/init.d/qpe stop
15 16
@@ -17,12 +18,15 @@ echo "start" > /tmp/update.log
17 18
18for p in $pack; do 19for p in $pack; do
19echo "rem. $p" >> /tmp/update.log 20echo "rem. $p" >> /tmp/update.log
20$IPKG_REMOVE $p 21$IPKG_REMOVE $p
21done 22done
22$IPKG_REMOVE qpe-pics 23$IPKG_REMOVE qpe-pics
24$IPKG_REMOVE ipaqalarm
25$IPKG_REMOVE qpe2schedule
26$IPKG_REMOVE uschedule
23 27
24#might help 28#might help
25sync 29sync
26 30
27 31
28echo "Updating" 32echo "Updating"
@@ -30,11 +34,12 @@ echo "Updating"
30 34
31for p in $pack; do 35for p in $pack; do
32echo "inst. $p" >> /tmp/update.log 36echo "inst. $p" >> /tmp/update.log
33$IPKG_INSTALL $p 37$IPKG_INSTALL $p
34done 38done
35$IPKG_INSTALL opie-pics 39$IPKG_INSTALL opie-pics
40$IPKG_INSTALL opiealarm
36 41
37ipkg remove opie-update 42ipkg remove opie-update
38 43
39echo "Starting Opie" 44echo "Starting Opie"
40/etc/init.d/opie start || /etc/init.d/qpe start 45/etc/init.d/opie start || /etc/init.d/qpe start