author | tille <tille> | 2002-06-25 09:21:01 (UTC) |
---|---|---|
committer | tille <tille> | 2002-06-25 09:21:01 (UTC) |
commit | c01145b90e2679bc460fccb01285a3bdcb92f5ae (patch) (unidiff) | |
tree | 60f4a672ffd373adbeeab0baceeb5a77ff925b0f | |
parent | 025f45d2d477b22469c8d63c9e7c8948b58fdfb8 (diff) | |
download | opie-c01145b90e2679bc460fccb01285a3bdcb92f5ae.zip opie-c01145b90e2679bc460fccb01285a3bdcb92f5ae.tar.gz opie-c01145b90e2679bc460fccb01285a3bdcb92f5ae.tar.bz2 |
hardcoded pics removal and installation
-rwxr-xr-x | scripts/update/opie-update.postinst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/update/opie-update.postinst b/scripts/update/opie-update.postinst index f761b67..02129d0 100755 --- a/scripts/update/opie-update.postinst +++ b/scripts/update/opie-update.postinst | |||
@@ -6,33 +6,35 @@ | |||
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 | IPKG_INSTALL="ipkg install" | 9 | IPKG_INSTALL="ipkg install" |
10 | echo "Upating opie" | 10 | echo "Upating opie" |
11 | pack=`ipkg status | grep Package | grep -i opie | grep -v update | sed "s/Package://"` | 11 | pack=`ipkg status | grep Package | grep -i opie | grep -v update | 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 | 23 | ||
23 | #might help | 24 | #might help |
24 | sync | 25 | sync |
25 | 26 | ||
26 | 27 | ||
27 | echo "Updating" | 28 | echo "Updating" |
28 | `ipkg update` | 29 | `ipkg update` |
29 | 30 | ||
30 | for p in $pack; do | 31 | for p in $pack; do |
31 | echo "inst. $p" >> /tmp/update.log | 32 | echo "inst. $p" >> /tmp/update.log |
32 | $IPKG_INSTALL $p | 33 | $IPKG_INSTALL $p |
33 | done | 34 | done |
35 | $IPKG_INSTALL opie-pics | ||
34 | 36 | ||
35 | ipkg remove opie-update | 37 | ipkg remove opie-update |
36 | 38 | ||
37 | echo "Starting Opie" | 39 | echo "Starting Opie" |
38 | /etc/init.d/opie start || /etc/init.d/qpe start | 40 | /etc/init.d/opie start || /etc/init.d/qpe start |