diff options
-rw-r--r-- | subapplet/subapplet_1.0.8.oe | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/subapplet/subapplet_1.0.8.oe b/subapplet/subapplet_1.0.8.oe index eb786d8f86..cf77599c5e 100644 --- a/subapplet/subapplet_1.0.8.oe +++ b/subapplet/subapplet_1.0.8.oe @@ -3,7 +3,7 @@ SECTION = "base" PRIORITY = "optional" LICENSE = "GPL" MAINTAINER = "Marcin Juszkiewicz <openembedded@hrw.one.pl>" -PR = "r1" +PR = "r2" SRC_URI = "${SOURCEFORGE_MIRROR}/subapplet/subapplet-1.0.8.tar.gz" @@ -18,3 +18,19 @@ do_install() { install -m 0644 *.png ${D}/${palmtopdir}/pics/subapplet/ oe_libinstall -so -C rel${palmtopdir}/plugins/applets libsubapplet ${D}/${palmtopdir}/plugins/applets/ } + +pkg_postinst() { +#!/bin/sh +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() { +#!/bin/sh +/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()" + if [ -n "$D" ]; then false; fi +} |