summaryrefslogtreecommitdiff
path: root/noncore
Side-by-side diff
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 @@
#!/bin/sh
-pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
+if pidof -s qpe >/dev/null; then
+ /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
+else
+ exit 0
+fi
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 @@
#!/bin/sh
-pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
+if pidof -s qpe >/dev/null; then
+ /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
+else
+ exit 0
+fi
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 @@
#!/bin/sh
if [ ! -f $HOME/Settings/kpacman.conf ]
+ exit 0
then
cp /opt/QtPalmtop/share/kpacman/kpacman.conf $HOME/Settings/
fi