From 96d08c424282810782c657e814c3f19d23a45db8 Mon Sep 17 00:00:00 2001 From: jamey Date: Mon, 24 Mar 2003 18:13:02 +0000 Subject: modify postinst scripts to prevent spurious nonzero exit codes --- (limited to 'inputmethods/kjumpx') diff --git a/inputmethods/kjumpx/opie-kjumpx.postinst b/inputmethods/kjumpx/opie-kjumpx.postinst index 0083987..b9ac6f0 100755 --- a/inputmethods/kjumpx/opie-kjumpx.postinst +++ b/inputmethods/kjumpx/opie-kjumpx.postinst @@ -1,2 +1,7 @@ #!/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 + -- cgit v0.9.0.2