diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2005-09-13 14:13:52 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-09-13 14:13:52 +0000 |
commit | aeb5e8d2e0ca39cd27c88265fbb5edea501d1ec9 (patch) | |
tree | 6e1d71ecc52fb8c704841b431eff2a72d37de0fd /packages/opie-batteryapplet | |
parent | 832cb542c12dad5e3ae330a62ec5a872ac47bc60 (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-batteryapplet')
-rw-r--r-- | packages/opie-batteryapplet/opie-batteryapplet.inc | 2 | ||||
-rw-r--r-- | packages/opie-batteryapplet/opie-batteryapplet_1.2.1.bb | 4 | ||||
-rw-r--r-- | packages/opie-batteryapplet/opie-batteryapplet_cvs.bb | 3 |
3 files changed, 5 insertions, 4 deletions
diff --git a/packages/opie-batteryapplet/opie-batteryapplet.inc b/packages/opie-batteryapplet/opie-batteryapplet.inc index bac400d95d..3df9f40f00 100644 --- a/packages/opie-batteryapplet/opie-batteryapplet.inc +++ b/packages/opie-batteryapplet/opie-batteryapplet.inc @@ -12,12 +12,12 @@ 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()" else exit 0 fi - if [ -n "$D" ]; then false; fi } pkg_postrm() { diff --git a/packages/opie-batteryapplet/opie-batteryapplet_1.2.1.bb b/packages/opie-batteryapplet/opie-batteryapplet_1.2.1.bb index cb561d860d..3feba24a63 100644 --- a/packages/opie-batteryapplet/opie-batteryapplet_1.2.1.bb +++ b/packages/opie-batteryapplet/opie-batteryapplet_1.2.1.bb @@ -1,6 +1,6 @@ include ${PN}.inc - - + +PR = "r1" SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/core/applets/batteryapplet \ ${HANDHELDS_CVS};tag=${TAG};module=opie/pics \ diff --git a/packages/opie-batteryapplet/opie-batteryapplet_cvs.bb b/packages/opie-batteryapplet/opie-batteryapplet_cvs.bb index 3260d8052f..a092b795bf 100644 --- a/packages/opie-batteryapplet/opie-batteryapplet_cvs.bb +++ b/packages/opie-batteryapplet/opie-batteryapplet_cvs.bb @@ -1,6 +1,7 @@ include ${PN}.inc - + PV = "1.2.1+cvs-${CVSDATE}" +PR = "r1" SRC_URI = "${HANDHELDS_CVS};module=opie/core/applets/batteryapplet \ ${HANDHELDS_CVS};module=opie/pics \ |