summaryrefslogtreecommitdiff
path: root/scripts/remove/opie-remove.postinst
authortille <tille>2002-07-08 14:06:41 (UTC)
committer tille <tille>2002-07-08 14:06:41 (UTC)
commit0d6ff4c6b10524943b43240489182138694f2759 (patch) (unidiff)
treedd194541fc2dd74ec4557f896338a915b7f35529 /scripts/remove/opie-remove.postinst
parentbbbd61bf777f1ac2342cde61e0710c9d6a348114 (diff)
downloadopie-0d6ff4c6b10524943b43240489182138694f2759.zip
opie-0d6ff4c6b10524943b43240489182138694f2759.tar.gz
opie-0d6ff4c6b10524943b43240489182138694f2759.tar.bz2
the answer to "how to remove task-opie"
Diffstat (limited to 'scripts/remove/opie-remove.postinst') (more/less context) (ignore whitespace changes)
-rwxr-xr-xscripts/remove/opie-remove.postinst32
1 files changed, 32 insertions, 0 deletions
diff --git a/scripts/remove/opie-remove.postinst b/scripts/remove/opie-remove.postinst
new file mode 100755
index 0000000..fbbdf63
--- a/dev/null
+++ b/scripts/remove/opie-remove.postinst
@@ -0,0 +1,32 @@
1#!/bin/ash
2#
3# script to remove
4#
5# it's free so do not sell it
6# (c) patrick s. vogtp <tille@handhelds.org>
7
8IPKG_REMOVE="ipkg remove"
9
10echo "Upating opie"
11pack=`ipkg status | grep Package | grep -i opie | grep -v remove | sed "s/Package://"`
12
13echo "Stopping Opie"
14/etc/init.d/opie stop || /etc/init.d/qpe stop
15
16echo "start" > /tmp/update.log
17
18for p in $pack; do
19echo "rem. $p" >> /tmp/update.log
20$IPKG_REMOVE $p
21done
22$IPKG_REMOVE qpe-pics
23$IPKG_REMOVE ipaqalarm
24$IPKG_REMOVE qpe2schedule
25$IPKG_REMOVE uschedule
26$IPKG_REMOVE qt-embedded
27$IPKG_REMOVE qt-embedded-rotation
28$IPKG_REMOVE opie-remove
29
30#might help
31sync
32