-rwxr-xr-x | core/applets/batteryapplet/opie-batteryapplet.postinst | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/core/applets/batteryapplet/opie-batteryapplet.postinst b/core/applets/batteryapplet/opie-batteryapplet.postinst index 9c8c2d9..a549c30 100755 --- a/core/applets/batteryapplet/opie-batteryapplet.postinst +++ b/core/applets/batteryapplet/opie-batteryapplet.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 |