summaryrefslogtreecommitdiff
path: root/core
authorjamey <jamey>2003-03-24 18:13:02 (UTC)
committer jamey <jamey>2003-03-24 18:13:02 (UTC)
commit96d08c424282810782c657e814c3f19d23a45db8 (patch) (side-by-side diff)
tree16cc95e89a5f7e87970725d646985d8f5d6f15c0 /core
parentc23656023651523d37406b43fd031ace4e2de89f (diff)
downloadopie-96d08c424282810782c657e814c3f19d23a45db8.zip
opie-96d08c424282810782c657e814c3f19d23a45db8.tar.gz
opie-96d08c424282810782c657e814c3f19d23a45db8.tar.bz2
modify postinst scripts to prevent spurious nonzero exit codes
Diffstat (limited to 'core') (more/less context) (ignore whitespace changes)
-rwxr-xr-xcore/applets/batteryapplet/opie-batteryapplet.postinst6
-rwxr-xr-xcore/applets/cardmon/opie-cardmon.postinst6
-rw-r--r--core/applets/clipboardapplet/opie-clipboardapplet.postinst6
-rwxr-xr-xcore/applets/clockapplet/opie-clockapplet.postinst6
-rwxr-xr-xcore/applets/irdaapplet/opie-irdaapplet.postinst6
-rwxr-xr-xcore/applets/screenshotapplet/opie-screenshotapplet.postinst6
-rwxr-xr-xcore/applets/vmemo/opie-vmemo.postinst7
-rwxr-xr-xcore/applets/volumeapplet/opie-volumeapplet.postinst7
8 files changed, 42 insertions, 8 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
diff --git a/core/applets/cardmon/opie-cardmon.postinst b/core/applets/cardmon/opie-cardmon.postinst
index 9c8c2d9..a549c30 100755
--- a/core/applets/cardmon/opie-cardmon.postinst
+++ b/core/applets/cardmon/opie-cardmon.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
diff --git a/core/applets/clipboardapplet/opie-clipboardapplet.postinst b/core/applets/clipboardapplet/opie-clipboardapplet.postinst
index 9c8c2d9..a549c30 100644
--- a/core/applets/clipboardapplet/opie-clipboardapplet.postinst
+++ b/core/applets/clipboardapplet/opie-clipboardapplet.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
diff --git a/core/applets/clockapplet/opie-clockapplet.postinst b/core/applets/clockapplet/opie-clockapplet.postinst
index 9c8c2d9..a549c30 100755
--- a/core/applets/clockapplet/opie-clockapplet.postinst
+++ b/core/applets/clockapplet/opie-clockapplet.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
diff --git a/core/applets/irdaapplet/opie-irdaapplet.postinst b/core/applets/irdaapplet/opie-irdaapplet.postinst
index 9c8c2d9..a549c30 100755
--- a/core/applets/irdaapplet/opie-irdaapplet.postinst
+++ b/core/applets/irdaapplet/opie-irdaapplet.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
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 @@
#!/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
diff --git a/core/applets/vmemo/opie-vmemo.postinst b/core/applets/vmemo/opie-vmemo.postinst
index 9c8c2d9..08258f0 100755
--- a/core/applets/vmemo/opie-vmemo.postinst
+++ b/core/applets/vmemo/opie-vmemo.postinst
@@ -1,2 +1,7 @@
#!/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
+
diff --git a/core/applets/volumeapplet/opie-volumeapplet.postinst b/core/applets/volumeapplet/opie-volumeapplet.postinst
index 9c8c2d9..08258f0 100755
--- a/core/applets/volumeapplet/opie-volumeapplet.postinst
+++ b/core/applets/volumeapplet/opie-volumeapplet.postinst
@@ -1,2 +1,7 @@
#!/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
+