From 1362726346f1ab497ad5822db1a9b284f5bdaa1a Mon Sep 17 00:00:00 2001 From: sandman Date: Sat, 28 Dec 2002 18:19:55 +0000 Subject: only send the qcop call in the postinst script, if qpe is running --- (limited to 'inputmethods') diff --git a/inputmethods/dvorak/opie-dvorak.postinst b/inputmethods/dvorak/opie-dvorak.postinst index c254b01..0083987 100755 --- a/inputmethods/dvorak/opie-dvorak.postinst +++ b/inputmethods/dvorak/opie-dvorak.postinst @@ -1,2 +1,2 @@ #!/bin/sh -/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()" +pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()" diff --git a/inputmethods/handwriting/opie-handwriting.postinst b/inputmethods/handwriting/opie-handwriting.postinst index c254b01..0083987 100755 --- a/inputmethods/handwriting/opie-handwriting.postinst +++ b/inputmethods/handwriting/opie-handwriting.postinst @@ -1,2 +1,2 @@ #!/bin/sh -/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()" +pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()" diff --git a/inputmethods/jumpx/opie-jumpx.postinst b/inputmethods/jumpx/opie-jumpx.postinst index c254b01..0083987 100755 --- a/inputmethods/jumpx/opie-jumpx.postinst +++ b/inputmethods/jumpx/opie-jumpx.postinst @@ -1,2 +1,2 @@ #!/bin/sh -/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()" +pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()" diff --git a/inputmethods/keyboard/opie-keyboard.postinst b/inputmethods/keyboard/opie-keyboard.postinst index c254b01..0083987 100755 --- a/inputmethods/keyboard/opie-keyboard.postinst +++ b/inputmethods/keyboard/opie-keyboard.postinst @@ -1,2 +1,2 @@ #!/bin/sh -/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()" +pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()" diff --git a/inputmethods/kjumpx/opie-kjumpx.postinst b/inputmethods/kjumpx/opie-kjumpx.postinst index c254b01..0083987 100755 --- a/inputmethods/kjumpx/opie-kjumpx.postinst +++ b/inputmethods/kjumpx/opie-kjumpx.postinst @@ -1,2 +1,2 @@ #!/bin/sh -/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()" +pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()" diff --git a/inputmethods/multikey/opie-multikey.postinst b/inputmethods/multikey/opie-multikey.postinst index c254b01..0083987 100755 --- a/inputmethods/multikey/opie-multikey.postinst +++ b/inputmethods/multikey/opie-multikey.postinst @@ -1,2 +1,2 @@ #!/bin/sh -/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()" +pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()" diff --git a/inputmethods/pickboard/opie-pickboard.postinst b/inputmethods/pickboard/opie-pickboard.postinst index c254b01..0083987 100755 --- a/inputmethods/pickboard/opie-pickboard.postinst +++ b/inputmethods/pickboard/opie-pickboard.postinst @@ -1,2 +1,2 @@ #!/bin/sh -/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()" +pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()" diff --git a/inputmethods/unikeyboard/opie-unikeyboard.postinst b/inputmethods/unikeyboard/opie-unikeyboard.postinst index c254b01..0083987 100755 --- a/inputmethods/unikeyboard/opie-unikeyboard.postinst +++ b/inputmethods/unikeyboard/opie-unikeyboard.postinst @@ -1,2 +1,2 @@ #!/bin/sh -/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()" +pidof -s qpe >/dev/null && /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()" -- cgit v0.9.0.2