summaryrefslogtreecommitdiff
path: root/packages/opie-clipboardapplet/opie-clipboardapplet.inc
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2005-09-13 14:13:52 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-09-13 14:13:52 +0000
commitaeb5e8d2e0ca39cd27c88265fbb5edea501d1ec9 (patch)
tree6e1d71ecc52fb8c704841b431eff2a72d37de0fd /packages/opie-clipboardapplet/opie-clipboardapplet.inc
parent832cb542c12dad5e3ae330a62ec5a872ac47bc60 (diff)
OPIE applets: fix postinst() to not be used during image create
- usage of "pidof -s qpe" is useless on build machine and make dead processes here - close bug #309 - creation of postinst()/postrm() should be moved to opie.bbclass
Diffstat (limited to 'packages/opie-clipboardapplet/opie-clipboardapplet.inc')
-rw-r--r--packages/opie-clipboardapplet/opie-clipboardapplet.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/opie-clipboardapplet/opie-clipboardapplet.inc b/packages/opie-clipboardapplet/opie-clipboardapplet.inc
index 03d75bef7f..b0340c0f1a 100644
--- a/packages/opie-clipboardapplet/opie-clipboardapplet.inc
+++ b/packages/opie-clipboardapplet/opie-clipboardapplet.inc
@@ -12,10 +12,10 @@ inherit opie
pkg_postinst() {
#!/bin/sh
+if [ -n "$D" ]; then exit 1; fi
if pidof -s qpe >/dev/null; then
/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
fi
- if [ -n "$D" ]; then false; fi
}
pkg_postrm() {