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-memoryapplet/opie-memoryapplet.inc | 2 +- packages/opie-memoryapplet/opie-memoryapplet_1.2.1.bb | 4 ++-- packages/opie-memoryapplet/opie-memoryapplet_cvs.bb | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) (limited to 'packages/opie-memoryapplet') diff --git a/packages/opie-memoryapplet/opie-memoryapplet.inc b/packages/opie-memoryapplet/opie-memoryapplet.inc index eb1e17919f..b67321412f 100644 --- a/packages/opie-memoryapplet/opie-memoryapplet.inc +++ b/packages/opie-memoryapplet/opie-memoryapplet.inc @@ -11,10 +11,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() { diff --git a/packages/opie-memoryapplet/opie-memoryapplet_1.2.1.bb b/packages/opie-memoryapplet/opie-memoryapplet_1.2.1.bb index 4c33d73086..0947c45cc1 100644 --- a/packages/opie-memoryapplet/opie-memoryapplet_1.2.1.bb +++ b/packages/opie-memoryapplet/opie-memoryapplet_1.2.1.bb @@ -1,6 +1,6 @@ include ${PN}.inc - - + +PR = "r1" SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/noncore/applets/memoryapplet \ ${HANDHELDS_CVS};tag=${TAG};module=opie/noncore/settings/sysinfo \ diff --git a/packages/opie-memoryapplet/opie-memoryapplet_cvs.bb b/packages/opie-memoryapplet/opie-memoryapplet_cvs.bb index 93dc9ecba1..404b0b981d 100644 --- a/packages/opie-memoryapplet/opie-memoryapplet_cvs.bb +++ b/packages/opie-memoryapplet/opie-memoryapplet_cvs.bb @@ -1,6 +1,7 @@ include ${PN}.inc - + PV = "1.2.1+cvs-${CVSDATE}" +PR = "r1" SRC_URI = "${HANDHELDS_CVS};module=opie/noncore/applets/memoryapplet \ ${HANDHELDS_CVS};module=opie/noncore/settings/sysinfo \ -- cgit v1.2.3