author | jamey <jamey> | 2003-03-24 18:13:02 (UTC) |
---|---|---|
committer | jamey <jamey> | 2003-03-24 18:13:02 (UTC) |
commit | 96d08c424282810782c657e814c3f19d23a45db8 (patch) (side-by-side diff) | |
tree | 16cc95e89a5f7e87970725d646985d8f5d6f15c0 /inputmethods/multikey/opie-multikey.postinst | |
parent | c23656023651523d37406b43fd031ace4e2de89f (diff) | |
download | opie-96d08c424282810782c657e814c3f19d23a45db8.zip opie-96d08c424282810782c657e814c3f19d23a45db8.tar.gz opie-96d08c424282810782c657e814c3f19d23a45db8.tar.bz2 |
modify postinst scripts to prevent spurious nonzero exit codes
Diffstat (limited to 'inputmethods/multikey/opie-multikey.postinst') (more/less context) (ignore whitespace changes)
-rwxr-xr-x | inputmethods/multikey/opie-multikey.postinst | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/inputmethods/multikey/opie-multikey.postinst b/inputmethods/multikey/opie-multikey.postinst index 0083987..435127d 100755 --- a/inputmethods/multikey/opie-multikey.postinst +++ b/inputmethods/multikey/opie-multikey.postinst @@ -1,2 +1,6 @@ #!/bin/sh -pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()" +if pidof -s qpe >/dev/null; then + /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()" +else + exit 0 +fi |