summaryrefslogtreecommitdiff
path: root/noncore
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 /noncore
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 (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rwxr-xr-xnoncore/applets/notesapplet/opie-notesapplet.postinst2
-rwxr-xr-xnoncore/applets/wirelessapplet/opie-wirelessapplet.postinst2
2 files changed, 2 insertions, 2 deletions
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()"