From aeb5e8d2e0ca39cd27c88265fbb5edea501d1ec9 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Tue, 13 Sep 2005 14:13:52 +0000 Subject: 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 --- packages/opie-clockapplet/opie-clockapplet.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/opie-clockapplet/opie-clockapplet.inc') diff --git a/packages/opie-clockapplet/opie-clockapplet.inc b/packages/opie-clockapplet/opie-clockapplet.inc index c312b1f2b8..ddf4d92677 100644 --- a/packages/opie-clockapplet/opie-clockapplet.inc +++ b/packages/opie-clockapplet/opie-clockapplet.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() { -- cgit v1.2.3