diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2004-09-15 14:45:28 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openembedded.org> | 2004-09-15 14:45:28 +0000 |
commit | 34cdfd9b83e85eb8cb13273d10712bb840718e84 (patch) | |
tree | c1694c7be60aa84513bb8428013be73d3b72f555 /subapplet | |
parent | ee35146787ffa92fee58e8c22f3d7c64682e75bd (diff) |
subapplet: added postinst/postrm actions
BKrev: 41485588BbXG4mdbATO2XzoG5sIntw
Diffstat (limited to 'subapplet')
-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 +} |