summaryrefslogtreecommitdiff
path: root/core/applets/irdaapplet/opie-irdaapplet.postinst
Side-by-side diff
Diffstat (limited to 'core/applets/irdaapplet/opie-irdaapplet.postinst') (more/less context) (ignore whitespace changes)
-rwxr-xr-xcore/applets/irdaapplet/opie-irdaapplet.postinst6
1 files changed, 5 insertions, 1 deletions
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