summaryrefslogtreecommitdiff
authortille <tille>2002-06-24 17:44:41 (UTC)
committer tille <tille>2002-06-24 17:44:41 (UTC)
commite9a211de0ae3623d0d665e4736009ef209f7516d (patch) (unidiff)
tree74118a2718518e5cc62fd9663c03005b07c574d8
parentf7bc3e18fbdb448c8f502ab06fc25ac4dc21d734 (diff)
downloadopie-e9a211de0ae3623d0d665e4736009ef209f7516d.zip
opie-e9a211de0ae3623d0d665e4736009ef209f7516d.tar.gz
opie-e9a211de0ae3623d0d665e4736009ef209f7516d.tar.bz2
...
Diffstat (more/less context) (ignore whitespace changes)
-rwxr-xr-xscripts/update/opie-update.postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/update/opie-update.postinst b/scripts/update/opie-update.postinst
index f056e49..d7a1205 100755
--- a/scripts/update/opie-update.postinst
+++ b/scripts/update/opie-update.postinst
@@ -1,23 +1,23 @@
1#!/bin/bash 1#!/bin/bash
2# 2#
3# script to remove and reinstall opie 3# script to remove and reinstall opie
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
8IPKG_REMOVE="ipkg remove" 8IPKG_REMOVE="ipkg remove"
9IPKG_INSTALL="ipkg install" 9IPKG_INSTALL="ipkg install"
10echo "Upating opie" 10echo "Upating opie"
11pack=`ipkg status | grep Package | grep -i opie | sed "s/Package://"` 11pack=`ipkg status | grep Package | grep -i opie | grep -v update | sed "s/Package://"`
12 12
13 13
14echo "Stopping Opie" 14echo "Stopping Opie"
15/etc/init.d/opie stop 15/etc/init.d/opie stop
16 16
17echo "start" > /tmp/update.log 17echo "start" > /tmp/update.log
18 18
19for p in $pack; do 19for p in $pack; do
20echo "rem. $p" >> /tmp/update.log 20echo "rem. $p" >> /tmp/update.log
21if [["$p"="opie-update"]]; then 21if [["$p"="opie-update"]]; then
22echo "" 22echo ""
23else 23else