summaryrefslogtreecommitdiff
authortille <tille>2002-08-25 11:54:23 (UTC)
committer tille <tille>2002-08-25 11:54:23 (UTC)
commitef2d8a825e0f5bc9edaa35330c076edd8d7ca35d (patch) (unidiff)
tree00f284180882efbc9c247f558eb65d103da55f01
parent4e1a0d708c7ff0b7b1c3ad15bcae933b76e1ae5e (diff)
downloadopie-ef2d8a825e0f5bc9edaa35330c076edd8d7ca35d.zip
opie-ef2d8a825e0f5bc9edaa35330c076edd8d7ca35d.tar.gz
opie-ef2d8a825e0f5bc9edaa35330c076edd8d7ca35d.tar.bz2
for carsten
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--scripts/remove/qpe-remove.control5
-rwxr-xr-xscripts/remove/qpe-remove.postinst34
2 files changed, 39 insertions, 0 deletions
diff --git a/scripts/remove/qpe-remove.control b/scripts/remove/qpe-remove.control
new file mode 100644
index 0000000..b239713
--- a/dev/null
+++ b/scripts/remove/qpe-remove.control
@@ -0,0 +1,5 @@
1Packagename: qpe
2Maintainer: Patrick S. Vogt <tille@handhelds.org>
3Section: opie/system
4Version: 0.9.1
5Description: Remove qtopia -- Use at own risc -- will remove qtopia and /opt/QtPalmtop/
diff --git a/scripts/remove/qpe-remove.postinst b/scripts/remove/qpe-remove.postinst
new file mode 100755
index 0000000..b1401ce
--- a/dev/null
+++ b/scripts/remove/qpe-remove.postinst
@@ -0,0 +1,34 @@
1#!/bin/ash
2#
3# script to remove
4#
5# it's free so do not sell it
6# (c) patrick s. vogt <tille@handhelds.org>
7
8IPKG_REMOVE="ipkg remove"
9
10echo "Upating qpe"
11pack=`ipkg status | grep Package | grep -i qpe | grep -v remove | sed "s/Package://"`
12
13echo "Stopping Qtopia"
14/etc/init.d/qpe 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 qpe-remove
29
30rm -r /opt/QtPalmtop/
31
32#might help
33sync
34