author | jamey <jamey> | 2003-03-24 18:13:02 (UTC) |
---|---|---|
committer | jamey <jamey> | 2003-03-24 18:13:02 (UTC) |
commit | 96d08c424282810782c657e814c3f19d23a45db8 (patch) (unidiff) | |
tree | 16cc95e89a5f7e87970725d646985d8f5d6f15c0 /core/applets/screenshotapplet | |
parent | c23656023651523d37406b43fd031ace4e2de89f (diff) | |
download | opie-96d08c424282810782c657e814c3f19d23a45db8.zip opie-96d08c424282810782c657e814c3f19d23a45db8.tar.gz opie-96d08c424282810782c657e814c3f19d23a45db8.tar.bz2 |
modify postinst scripts to prevent spurious nonzero exit codes
-rwxr-xr-x | core/applets/screenshotapplet/opie-screenshotapplet.postinst | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/core/applets/screenshotapplet/opie-screenshotapplet.postinst b/core/applets/screenshotapplet/opie-screenshotapplet.postinst index 9c8c2d9..a549c30 100755 --- a/core/applets/screenshotapplet/opie-screenshotapplet.postinst +++ b/core/applets/screenshotapplet/opie-screenshotapplet.postinst | |||
@@ -1,2 +1,6 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()" | 2 | if pidof -s qpe >/dev/null; then |
3 | /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()" | ||
4 | else | ||
5 | exit 0 | ||
6 | fi | ||