summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rwxr-xr-xcore/applets/batteryapplet/opie-batteryapplet.postinst6
-rwxr-xr-xcore/applets/cardmon/opie-cardmon.postinst6
-rw-r--r--core/applets/clipboardapplet/opie-clipboardapplet.postinst6
-rwxr-xr-xcore/applets/clockapplet/opie-clockapplet.postinst6
-rwxr-xr-xcore/applets/irdaapplet/opie-irdaapplet.postinst6
-rwxr-xr-xcore/applets/screenshotapplet/opie-screenshotapplet.postinst6
-rwxr-xr-xcore/applets/vmemo/opie-vmemo.postinst7
-rwxr-xr-xcore/applets/volumeapplet/opie-volumeapplet.postinst7
-rwxr-xr-xinputmethods/dvorak/opie-dvorak.postinst7
-rwxr-xr-xinputmethods/handwriting/opie-handwriting.postinst7
-rwxr-xr-xinputmethods/jumpx/opie-jumpx.postinst7
-rwxr-xr-xinputmethods/keyboard/opie-keyboard.postinst7
-rwxr-xr-xinputmethods/kjumpx/opie-kjumpx.postinst7
-rwxr-xr-xinputmethods/multikey/opie-multikey.postinst6
-rwxr-xr-xinputmethods/pickboard/opie-pickboard.postinst6
-rwxr-xr-xinputmethods/unikeyboard/opie-unikeyboard.postinst6
-rwxr-xr-xnoncore/applets/notesapplet/opie-notesapplet.postinst6
-rwxr-xr-xnoncore/applets/wirelessapplet/opie-wirelessapplet.postinst6
-rwxr-xr-xnoncore/games/kpacman/opie-kpacman.postinst1
19 files changed, 98 insertions, 18 deletions
diff --git a/core/applets/batteryapplet/opie-batteryapplet.postinst b/core/applets/batteryapplet/opie-batteryapplet.postinst
index 9c8c2d9..a549c30 100755
--- a/core/applets/batteryapplet/opie-batteryapplet.postinst
+++ b/core/applets/batteryapplet/opie-batteryapplet.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/core/applets/cardmon/opie-cardmon.postinst b/core/applets/cardmon/opie-cardmon.postinst
index 9c8c2d9..a549c30 100755
--- a/core/applets/cardmon/opie-cardmon.postinst
+++ b/core/applets/cardmon/opie-cardmon.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/core/applets/clipboardapplet/opie-clipboardapplet.postinst b/core/applets/clipboardapplet/opie-clipboardapplet.postinst
index 9c8c2d9..a549c30 100644
--- a/core/applets/clipboardapplet/opie-clipboardapplet.postinst
+++ b/core/applets/clipboardapplet/opie-clipboardapplet.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/core/applets/clockapplet/opie-clockapplet.postinst b/core/applets/clockapplet/opie-clockapplet.postinst
index 9c8c2d9..a549c30 100755
--- a/core/applets/clockapplet/opie-clockapplet.postinst
+++ b/core/applets/clockapplet/opie-clockapplet.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/core/applets/irdaapplet/opie-irdaapplet.postinst b/core/applets/irdaapplet/opie-irdaapplet.postinst
index 9c8c2d9..a549c30 100755
--- a/core/applets/irdaapplet/opie-irdaapplet.postinst
+++ b/core/applets/irdaapplet/opie-irdaapplet.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/core/applets/screenshotapplet/opie-screenshotapplet.postinst b/core/applets/screenshotapplet/opie-screenshotapplet.postinst
index 9c8c2d9..a549c30 100755
--- a/core/applets/screenshotapplet/opie-screenshotapplet.postinst
+++ b/core/applets/screenshotapplet/opie-screenshotapplet.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/core/applets/vmemo/opie-vmemo.postinst b/core/applets/vmemo/opie-vmemo.postinst
index 9c8c2d9..08258f0 100755
--- a/core/applets/vmemo/opie-vmemo.postinst
+++ b/core/applets/vmemo/opie-vmemo.postinst
@@ -1,2 +1,7 @@
#!/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/core/applets/volumeapplet/opie-volumeapplet.postinst b/core/applets/volumeapplet/opie-volumeapplet.postinst
index 9c8c2d9..08258f0 100755
--- a/core/applets/volumeapplet/opie-volumeapplet.postinst
+++ b/core/applets/volumeapplet/opie-volumeapplet.postinst
@@ -1,2 +1,7 @@
#!/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/inputmethods/dvorak/opie-dvorak.postinst b/inputmethods/dvorak/opie-dvorak.postinst
index 0083987..b9ac6f0 100755
--- a/inputmethods/dvorak/opie-dvorak.postinst
+++ b/inputmethods/dvorak/opie-dvorak.postinst
@@ -1,2 +1,7 @@
#!/bin/sh
-pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()"
+if pidof -s qpe >/dev/null; then
+ /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()"
+else
+ exit 0
+fi
+
diff --git a/inputmethods/handwriting/opie-handwriting.postinst b/inputmethods/handwriting/opie-handwriting.postinst
index 0083987..b9ac6f0 100755
--- a/inputmethods/handwriting/opie-handwriting.postinst
+++ b/inputmethods/handwriting/opie-handwriting.postinst
@@ -1,2 +1,7 @@
#!/bin/sh
-pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()"
+if pidof -s qpe >/dev/null; then
+ /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()"
+else
+ exit 0
+fi
+
diff --git a/inputmethods/jumpx/opie-jumpx.postinst b/inputmethods/jumpx/opie-jumpx.postinst
index 0083987..b9ac6f0 100755
--- a/inputmethods/jumpx/opie-jumpx.postinst
+++ b/inputmethods/jumpx/opie-jumpx.postinst
@@ -1,2 +1,7 @@
#!/bin/sh
-pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()"
+if pidof -s qpe >/dev/null; then
+ /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()"
+else
+ exit 0
+fi
+
diff --git a/inputmethods/keyboard/opie-keyboard.postinst b/inputmethods/keyboard/opie-keyboard.postinst
index 0083987..b9ac6f0 100755
--- a/inputmethods/keyboard/opie-keyboard.postinst
+++ b/inputmethods/keyboard/opie-keyboard.postinst
@@ -1,2 +1,7 @@
#!/bin/sh
-pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()"
+if pidof -s qpe >/dev/null; then
+ /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()"
+else
+ exit 0
+fi
+
diff --git a/inputmethods/kjumpx/opie-kjumpx.postinst b/inputmethods/kjumpx/opie-kjumpx.postinst
index 0083987..b9ac6f0 100755
--- a/inputmethods/kjumpx/opie-kjumpx.postinst
+++ b/inputmethods/kjumpx/opie-kjumpx.postinst
@@ -1,2 +1,7 @@
#!/bin/sh
-pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()"
+if pidof -s qpe >/dev/null; then
+ /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()"
+else
+ exit 0
+fi
+
diff --git a/inputmethods/multikey/opie-multikey.postinst b/inputmethods/multikey/opie-multikey.postinst
index 0083987..435127d 100755
--- a/inputmethods/multikey/opie-multikey.postinst
+++ b/inputmethods/multikey/opie-multikey.postinst
@@ -1,2 +1,6 @@
#!/bin/sh
-pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()"
+if pidof -s qpe >/dev/null; then
+ /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()"
+else
+ exit 0
+fi
diff --git a/inputmethods/pickboard/opie-pickboard.postinst b/inputmethods/pickboard/opie-pickboard.postinst
index 0083987..a549c30 100755
--- a/inputmethods/pickboard/opie-pickboard.postinst
+++ b/inputmethods/pickboard/opie-pickboard.postinst
@@ -1,2 +1,6 @@
#!/bin/sh
-pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()"
+if pidof -s qpe >/dev/null; then
+ /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
+else
+ exit 0
+fi
diff --git a/inputmethods/unikeyboard/opie-unikeyboard.postinst b/inputmethods/unikeyboard/opie-unikeyboard.postinst
index 0083987..a549c30 100755
--- a/inputmethods/unikeyboard/opie-unikeyboard.postinst
+++ b/inputmethods/unikeyboard/opie-unikeyboard.postinst
@@ -1,2 +1,6 @@
#!/bin/sh
-pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()"
+if pidof -s qpe >/dev/null; then
+ /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
+else
+ exit 0
+fi
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
@@ -2,4 +2,5 @@
if [ ! -f $HOME/Settings/kpacman.conf ]
+ exit 0
then
cp /opt/QtPalmtop/share/kpacman/kpacman.conf $HOME/Settings/