diff options
Diffstat (limited to 'packages/opie-wirelessapplet/opie-wirelessapplet.inc')
-rw-r--r-- | packages/opie-wirelessapplet/opie-wirelessapplet.inc | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/packages/opie-wirelessapplet/opie-wirelessapplet.inc b/packages/opie-wirelessapplet/opie-wirelessapplet.inc index e69de29bb2..38f9fe5af5 100644 --- a/packages/opie-wirelessapplet/opie-wirelessapplet.inc +++ b/packages/opie-wirelessapplet/opie-wirelessapplet.inc @@ -0,0 +1,28 @@ +DESCRIPTION = "Wireless Applet" +SECTION = "opie/applets" +PRIORITY = "optional" +MAINTAINER = "Team Opie <opie@handhelds.org>" +LICENSE = "GPL" +APPNAME = "wirelessapplet" + +EXCLUDE_FROM_WORLD = "1" + +S = "${WORKDIR}/${APPNAME}" + +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 +} + +pkg_postrm() { +#!/bin/sh +if [ -n "$D" ]; then exit 1; fi +/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()" +} |