-rw-r--r-- | scripts/remove/opie-remove.control | 3 | ||||
-rwxr-xr-x | scripts/remove/opie-remove.postinst | 2 |
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 @@ | |||
1 | Packagename: opie-remove | 1 | Packagename: opie-remove |
2 | Maintainer: Patrick S. Vogt <tille@handhelds.org> | 2 | Maintainer: Patrick S. Vogt <tille@handhelds.org> |
3 | Section: opie/system | ||
3 | Version: 0.9.1 | 4 | Version: 0.9.1 |
4 | Description: Remove opie | 5 | Description: 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 | ||
8 | IPKG_REMOVE="ipkg remove" | 8 | IPKG_REMOVE="ipkg remove" |
9 | 9 | ||
10 | echo "Upating opie" | 10 | echo "Upating opie" |
11 | pack=`ipkg status | grep Package | grep -i opie | grep -v remove | sed "s/Package://"` | 11 | pack=`ipkg status | grep Package | grep -i opie | grep -v remove | sed "s/Package://"` |
12 | 12 | ||
13 | echo "Stopping Opie" | 13 | echo "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 | ||
16 | echo "start" > /tmp/update.log | 16 | echo "start" > /tmp/update.log |
17 | 17 | ||
18 | for p in $pack; do | 18 | for p in $pack; do |
19 | echo "rem. $p" >> /tmp/update.log | 19 | echo "rem. $p" >> /tmp/update.log |
20 | $IPKG_REMOVE $p | 20 | $IPKG_REMOVE $p |
21 | done | 21 | done |
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 | ||
30 | rm -r /opt/QtPalmtop/ | ||
31 | |||
30 | #might help | 32 | #might help |
31 | sync | 33 | sync |
32 | 34 | ||