summaryrefslogtreecommitdiff
path: root/noncore
authorjamey <jamey>2003-03-24 18:13:02 (UTC)
committer jamey <jamey>2003-03-24 18:13:02 (UTC)
commit96d08c424282810782c657e814c3f19d23a45db8 (patch) (unidiff)
tree16cc95e89a5f7e87970725d646985d8f5d6f15c0 /noncore
parentc23656023651523d37406b43fd031ace4e2de89f (diff)
downloadopie-96d08c424282810782c657e814c3f19d23a45db8.zip
opie-96d08c424282810782c657e814c3f19d23a45db8.tar.gz
opie-96d08c424282810782c657e814c3f19d23a45db8.tar.bz2
modify postinst scripts to prevent spurious nonzero exit codes
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rwxr-xr-xnoncore/applets/notesapplet/opie-notesapplet.postinst6
-rwxr-xr-xnoncore/applets/wirelessapplet/opie-wirelessapplet.postinst6
-rwxr-xr-xnoncore/games/kpacman/opie-kpacman.postinst1
3 files changed, 11 insertions, 2 deletions
diff --git a/noncore/applets/notesapplet/opie-notesapplet.postinst b/noncore/applets/notesapplet/opie-notesapplet.postinst
index 9c8c2d9..a549c30 100755
--- a/noncore/applets/notesapplet/opie-notesapplet.postinst
+++ b/noncore/applets/notesapplet/opie-notesapplet.postinst
@@ -1,2 +1,6 @@
1#!/bin/sh 1#!/bin/sh
2pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()" 2if pidof -s qpe >/dev/null; then
3 /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
4else
5 exit 0
6fi
diff --git a/noncore/applets/wirelessapplet/opie-wirelessapplet.postinst b/noncore/applets/wirelessapplet/opie-wirelessapplet.postinst
index 9c8c2d9..a549c30 100755
--- a/noncore/applets/wirelessapplet/opie-wirelessapplet.postinst
+++ b/noncore/applets/wirelessapplet/opie-wirelessapplet.postinst
@@ -1,2 +1,6 @@
1#!/bin/sh 1#!/bin/sh
2pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()" 2if pidof -s qpe >/dev/null; then
3 /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
4else
5 exit 0
6fi
diff --git a/noncore/games/kpacman/opie-kpacman.postinst b/noncore/games/kpacman/opie-kpacman.postinst
index 64ab624..72d35b7 100755
--- a/noncore/games/kpacman/opie-kpacman.postinst
+++ b/noncore/games/kpacman/opie-kpacman.postinst
@@ -1,6 +1,7 @@
1#!/bin/sh 1#!/bin/sh
2 2
3if [ ! -f $HOME/Settings/kpacman.conf ] 3if [ ! -f $HOME/Settings/kpacman.conf ]
4 exit 0
4then 5then
5 cp /opt/QtPalmtop/share/kpacman/kpacman.conf $HOME/Settings/ 6 cp /opt/QtPalmtop/share/kpacman/kpacman.conf $HOME/Settings/
6fi 7fi