summaryrefslogtreecommitdiff
authorsandman <sandman>2002-12-28 18:19:55 (UTC)
committer sandman <sandman>2002-12-28 18:19:55 (UTC)
commit1362726346f1ab497ad5822db1a9b284f5bdaa1a (patch) (side-by-side diff)
treeb59ecaeb6b033e0fff5c3299f96eac69b89ae0ee
parent58868e48eba21d0f400d6b379cb3e3e5b74561b9 (diff)
downloadopie-1362726346f1ab497ad5822db1a9b284f5bdaa1a.zip
opie-1362726346f1ab497ad5822db1a9b284f5bdaa1a.tar.gz
opie-1362726346f1ab497ad5822db1a9b284f5bdaa1a.tar.bz2
only send the qcop call in the postinst script, if qpe is running
Diffstat (more/less context) (show whitespace changes)
-rwxr-xr-xcore/applets/batteryapplet/opie-batteryapplet.postinst2
-rwxr-xr-xcore/applets/cardmon/opie-cardmon.postinst2
-rw-r--r--core/applets/clipboardapplet/opie-clipboardapplet.postinst2
-rwxr-xr-xcore/applets/clockapplet/opie-clockapplet.postinst2
-rwxr-xr-xcore/applets/irdaapplet/opie-irdaapplet.postinst2
-rwxr-xr-xcore/applets/screenshotapplet/opie-screenshotapplet.postinst2
-rwxr-xr-xcore/applets/vmemo/opie-vmemo.postinst2
-rwxr-xr-xcore/applets/volumeapplet/opie-volumeapplet.postinst2
-rwxr-xr-xinputmethods/dvorak/opie-dvorak.postinst2
-rwxr-xr-xinputmethods/handwriting/opie-handwriting.postinst2
-rwxr-xr-xinputmethods/jumpx/opie-jumpx.postinst2
-rwxr-xr-xinputmethods/keyboard/opie-keyboard.postinst2
-rwxr-xr-xinputmethods/kjumpx/opie-kjumpx.postinst2
-rwxr-xr-xinputmethods/multikey/opie-multikey.postinst2
-rwxr-xr-xinputmethods/pickboard/opie-pickboard.postinst2
-rwxr-xr-xinputmethods/unikeyboard/opie-unikeyboard.postinst2
-rwxr-xr-xnoncore/applets/notesapplet/opie-notesapplet.postinst2
-rwxr-xr-xnoncore/applets/wirelessapplet/opie-wirelessapplet.postinst2
18 files changed, 18 insertions, 18 deletions
diff --git a/core/applets/batteryapplet/opie-batteryapplet.postinst b/core/applets/batteryapplet/opie-batteryapplet.postinst
index ba76ffa..9c8c2d9 100755
--- a/core/applets/batteryapplet/opie-batteryapplet.postinst
+++ b/core/applets/batteryapplet/opie-batteryapplet.postinst
@@ -1,2 +1,2 @@
#!/bin/sh
-/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
+pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
diff --git a/core/applets/cardmon/opie-cardmon.postinst b/core/applets/cardmon/opie-cardmon.postinst
index ba76ffa..9c8c2d9 100755
--- a/core/applets/cardmon/opie-cardmon.postinst
+++ b/core/applets/cardmon/opie-cardmon.postinst
@@ -1,2 +1,2 @@
#!/bin/sh
-/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
+pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
diff --git a/core/applets/clipboardapplet/opie-clipboardapplet.postinst b/core/applets/clipboardapplet/opie-clipboardapplet.postinst
index ba76ffa..9c8c2d9 100644
--- a/core/applets/clipboardapplet/opie-clipboardapplet.postinst
+++ b/core/applets/clipboardapplet/opie-clipboardapplet.postinst
@@ -1,2 +1,2 @@
#!/bin/sh
-/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
+pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
diff --git a/core/applets/clockapplet/opie-clockapplet.postinst b/core/applets/clockapplet/opie-clockapplet.postinst
index ba76ffa..9c8c2d9 100755
--- a/core/applets/clockapplet/opie-clockapplet.postinst
+++ b/core/applets/clockapplet/opie-clockapplet.postinst
@@ -1,2 +1,2 @@
#!/bin/sh
-/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
+pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
diff --git a/core/applets/irdaapplet/opie-irdaapplet.postinst b/core/applets/irdaapplet/opie-irdaapplet.postinst
index ba76ffa..9c8c2d9 100755
--- a/core/applets/irdaapplet/opie-irdaapplet.postinst
+++ b/core/applets/irdaapplet/opie-irdaapplet.postinst
@@ -1,2 +1,2 @@
#!/bin/sh
-/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
+pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
diff --git a/core/applets/screenshotapplet/opie-screenshotapplet.postinst b/core/applets/screenshotapplet/opie-screenshotapplet.postinst
index ba76ffa..9c8c2d9 100755
--- a/core/applets/screenshotapplet/opie-screenshotapplet.postinst
+++ b/core/applets/screenshotapplet/opie-screenshotapplet.postinst
@@ -1,2 +1,2 @@
#!/bin/sh
-/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
+pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
diff --git a/core/applets/vmemo/opie-vmemo.postinst b/core/applets/vmemo/opie-vmemo.postinst
index ba76ffa..9c8c2d9 100755
--- a/core/applets/vmemo/opie-vmemo.postinst
+++ b/core/applets/vmemo/opie-vmemo.postinst
@@ -1,2 +1,2 @@
#!/bin/sh
-/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
+pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
diff --git a/core/applets/volumeapplet/opie-volumeapplet.postinst b/core/applets/volumeapplet/opie-volumeapplet.postinst
index ba76ffa..9c8c2d9 100755
--- a/core/applets/volumeapplet/opie-volumeapplet.postinst
+++ b/core/applets/volumeapplet/opie-volumeapplet.postinst
@@ -1,2 +1,2 @@
#!/bin/sh
-/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
+pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
diff --git a/inputmethods/dvorak/opie-dvorak.postinst b/inputmethods/dvorak/opie-dvorak.postinst
index c254b01..0083987 100755
--- a/inputmethods/dvorak/opie-dvorak.postinst
+++ b/inputmethods/dvorak/opie-dvorak.postinst
@@ -1,2 +1,2 @@
#!/bin/sh
-/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()"
+pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()"
diff --git a/inputmethods/handwriting/opie-handwriting.postinst b/inputmethods/handwriting/opie-handwriting.postinst
index c254b01..0083987 100755
--- a/inputmethods/handwriting/opie-handwriting.postinst
+++ b/inputmethods/handwriting/opie-handwriting.postinst
@@ -1,2 +1,2 @@
#!/bin/sh
-/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()"
+pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()"
diff --git a/inputmethods/jumpx/opie-jumpx.postinst b/inputmethods/jumpx/opie-jumpx.postinst
index c254b01..0083987 100755
--- a/inputmethods/jumpx/opie-jumpx.postinst
+++ b/inputmethods/jumpx/opie-jumpx.postinst
@@ -1,2 +1,2 @@
#!/bin/sh
-/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()"
+pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()"
diff --git a/inputmethods/keyboard/opie-keyboard.postinst b/inputmethods/keyboard/opie-keyboard.postinst
index c254b01..0083987 100755
--- a/inputmethods/keyboard/opie-keyboard.postinst
+++ b/inputmethods/keyboard/opie-keyboard.postinst
@@ -1,2 +1,2 @@
#!/bin/sh
-/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()"
+pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()"
diff --git a/inputmethods/kjumpx/opie-kjumpx.postinst b/inputmethods/kjumpx/opie-kjumpx.postinst
index c254b01..0083987 100755
--- a/inputmethods/kjumpx/opie-kjumpx.postinst
+++ b/inputmethods/kjumpx/opie-kjumpx.postinst
@@ -1,2 +1,2 @@
#!/bin/sh
-/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()"
+pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()"
diff --git a/inputmethods/multikey/opie-multikey.postinst b/inputmethods/multikey/opie-multikey.postinst
index c254b01..0083987 100755
--- a/inputmethods/multikey/opie-multikey.postinst
+++ b/inputmethods/multikey/opie-multikey.postinst
@@ -1,2 +1,2 @@
#!/bin/sh
-/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()"
+pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()"
diff --git a/inputmethods/pickboard/opie-pickboard.postinst b/inputmethods/pickboard/opie-pickboard.postinst
index c254b01..0083987 100755
--- a/inputmethods/pickboard/opie-pickboard.postinst
+++ b/inputmethods/pickboard/opie-pickboard.postinst
@@ -1,2 +1,2 @@
#!/bin/sh
-/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()"
+pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()"
diff --git a/inputmethods/unikeyboard/opie-unikeyboard.postinst b/inputmethods/unikeyboard/opie-unikeyboard.postinst
index c254b01..0083987 100755
--- a/inputmethods/unikeyboard/opie-unikeyboard.postinst
+++ b/inputmethods/unikeyboard/opie-unikeyboard.postinst
@@ -1,2 +1,2 @@
#!/bin/sh
-/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()"
+pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()"
diff --git a/noncore/applets/notesapplet/opie-notesapplet.postinst b/noncore/applets/notesapplet/opie-notesapplet.postinst
index ba76ffa..9c8c2d9 100755
--- a/noncore/applets/notesapplet/opie-notesapplet.postinst
+++ b/noncore/applets/notesapplet/opie-notesapplet.postinst
@@ -1,2 +1,2 @@
#!/bin/sh
-/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
+pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
diff --git a/noncore/applets/wirelessapplet/opie-wirelessapplet.postinst b/noncore/applets/wirelessapplet/opie-wirelessapplet.postinst
index ba76ffa..9c8c2d9 100755
--- a/noncore/applets/wirelessapplet/opie-wirelessapplet.postinst
+++ b/noncore/applets/wirelessapplet/opie-wirelessapplet.postinst
@@ -1,2 +1,2 @@
#!/bin/sh
-/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
+pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"