summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--scripts/remove/opie-remove.control3
-rwxr-xr-xscripts/remove/opie-remove.postinst2
2 files changed, 4 insertions, 1 deletions
diff --git a/scripts/remove/opie-remove.control b/scripts/remove/opie-remove.control
index 68341f2..8ccedcd 100644
--- a/scripts/remove/opie-remove.control
+++ b/scripts/remove/opie-remove.control
@@ -1,4 +1,5 @@
1Packagename: opie-remove 1Packagename: opie-remove
2Maintainer: Patrick S. Vogt <tille@handhelds.org> 2Maintainer: Patrick S. Vogt <tille@handhelds.org>
3Section: opie/system
3Version: 0.9.1 4Version: 0.9.1
4Description: Remove opie 5Description: Remove opie -- Use at own risc -- will remove opie and /opt/QtPalmtop/
diff --git a/scripts/remove/opie-remove.postinst b/scripts/remove/opie-remove.postinst
index fbbdf63..45722b7 100755
--- a/scripts/remove/opie-remove.postinst
+++ b/scripts/remove/opie-remove.postinst
@@ -1,32 +1,34 @@
1#!/bin/ash 1#!/bin/ash
2# 2#
3# script to remove 3# script to remove
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"
9 9
10echo "Upating opie" 10echo "Upating opie"
11pack=`ipkg status | grep Package | grep -i opie | grep -v remove | sed "s/Package://"` 11pack=`ipkg status | grep Package | grep -i opie | grep -v remove | sed "s/Package://"`
12 12
13echo "Stopping Opie" 13echo "Stopping Opie"
14/etc/init.d/opie stop || /etc/init.d/qpe stop 14/etc/init.d/opie stop || /etc/init.d/qpe stop
15 15
16echo "start" > /tmp/update.log 16echo "start" > /tmp/update.log
17 17
18for p in $pack; do 18for p in $pack; do
19echo "rem. $p" >> /tmp/update.log 19echo "rem. $p" >> /tmp/update.log
20$IPKG_REMOVE $p 20$IPKG_REMOVE $p
21done 21done
22$IPKG_REMOVE qpe-pics 22$IPKG_REMOVE qpe-pics
23$IPKG_REMOVE ipaqalarm 23$IPKG_REMOVE ipaqalarm
24$IPKG_REMOVE qpe2schedule 24$IPKG_REMOVE qpe2schedule
25$IPKG_REMOVE uschedule 25$IPKG_REMOVE uschedule
26$IPKG_REMOVE qt-embedded 26$IPKG_REMOVE qt-embedded
27$IPKG_REMOVE qt-embedded-rotation 27$IPKG_REMOVE qt-embedded-rotation
28$IPKG_REMOVE opie-remove 28$IPKG_REMOVE opie-remove
29 29
30rm -r /opt/QtPalmtop/
31
30#might help 32#might help
31sync 33sync
32 34