summaryrefslogtreecommitdiff
path: root/inputmethods
authorjamey <jamey>2003-03-24 18:13:02 (UTC)
committer jamey <jamey>2003-03-24 18:13:02 (UTC)
commit96d08c424282810782c657e814c3f19d23a45db8 (patch) (side-by-side diff)
tree16cc95e89a5f7e87970725d646985d8f5d6f15c0 /inputmethods
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 'inputmethods') (more/less context) (ignore whitespace changes)
-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
8 files changed, 45 insertions, 8 deletions
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