author | tille <tille> | 2002-06-25 10:34:26 (UTC) |
---|---|---|
committer | tille <tille> | 2002-06-25 10:34:26 (UTC) |
commit | 8b39fcc7dbc0579c27e42918974a407104dc9fac (patch) (unidiff) | |
tree | cf1725fbb28d08ee40a8e73dc9be4d1a8abe6070 | |
parent | c01145b90e2679bc460fccb01285a3bdcb92f5ae (diff) | |
download | opie-8b39fcc7dbc0579c27e42918974a407104dc9fac.zip opie-8b39fcc7dbc0579c27e42918974a407104dc9fac.tar.gz opie-8b39fcc7dbc0579c27e42918974a407104dc9fac.tar.bz2 |
<Harlekin> ipkg remove ipaqalarm qpe2schedule uschedule
<Harlekin> tille: und entsprechend ipkg install opiealarm
-rwxr-xr-x | scripts/update/opie-update.postinst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/update/opie-update.postinst b/scripts/update/opie-update.postinst index 02129d0..22d3628 100755 --- a/scripts/update/opie-update.postinst +++ b/scripts/update/opie-update.postinst | |||
@@ -4,12 +4,13 @@ | |||
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 | IPKG_INSTALL="ipkg install" | 9 | IPKG_INSTALL="ipkg install" |
10 | |||
10 | echo "Upating opie" | 11 | echo "Upating opie" |
11 | pack=`ipkg status | grep Package | grep -i opie | grep -v update | sed "s/Package://"` | 12 | pack=`ipkg status | grep Package | grep -i opie | grep -v update | sed "s/Package://"` |
12 | 13 | ||
13 | echo "Stopping Opie" | 14 | echo "Stopping Opie" |
14 | /etc/init.d/opie stop || /etc/init.d/qpe stop | 15 | /etc/init.d/opie stop || /etc/init.d/qpe stop |
15 | 16 | ||
@@ -17,12 +18,15 @@ echo "start" > /tmp/update.log | |||
17 | 18 | ||
18 | for p in $pack; do | 19 | for p in $pack; do |
19 | echo "rem. $p" >> /tmp/update.log | 20 | echo "rem. $p" >> /tmp/update.log |
20 | $IPKG_REMOVE $p | 21 | $IPKG_REMOVE $p |
21 | done | 22 | done |
22 | $IPKG_REMOVE qpe-pics | 23 | $IPKG_REMOVE qpe-pics |
24 | $IPKG_REMOVE ipaqalarm | ||
25 | $IPKG_REMOVE qpe2schedule | ||
26 | $IPKG_REMOVE uschedule | ||
23 | 27 | ||
24 | #might help | 28 | #might help |
25 | sync | 29 | sync |
26 | 30 | ||
27 | 31 | ||
28 | echo "Updating" | 32 | echo "Updating" |
@@ -30,11 +34,12 @@ echo "Updating" | |||
30 | 34 | ||
31 | for p in $pack; do | 35 | for p in $pack; do |
32 | echo "inst. $p" >> /tmp/update.log | 36 | echo "inst. $p" >> /tmp/update.log |
33 | $IPKG_INSTALL $p | 37 | $IPKG_INSTALL $p |
34 | done | 38 | done |
35 | $IPKG_INSTALL opie-pics | 39 | $IPKG_INSTALL opie-pics |
40 | $IPKG_INSTALL opiealarm | ||
36 | 41 | ||
37 | ipkg remove opie-update | 42 | ipkg remove opie-update |
38 | 43 | ||
39 | echo "Starting Opie" | 44 | echo "Starting Opie" |
40 | /etc/init.d/opie start || /etc/init.d/qpe start | 45 | /etc/init.d/opie start || /etc/init.d/qpe start |