author | sandman <sandman> | 2002-12-28 18:19:55 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-12-28 18:19:55 (UTC) |
commit | 1362726346f1ab497ad5822db1a9b284f5bdaa1a (patch) (side-by-side diff) | |
tree | b59ecaeb6b033e0fff5c3299f96eac69b89ae0ee /core/applets | |
parent | 58868e48eba21d0f400d6b379cb3e3e5b74561b9 (diff) | |
download | opie-1362726346f1ab497ad5822db1a9b284f5bdaa1a.zip opie-1362726346f1ab497ad5822db1a9b284f5bdaa1a.tar.gz opie-1362726346f1ab497ad5822db1a9b284f5bdaa1a.tar.bz2 |
only send the qcop call in the postinst script, if qpe is running
8 files changed, 8 insertions, 8 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()" |