summaryrefslogtreecommitdiff
path: root/packages/opie-cardapplet/opie-cardapplet.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/opie-cardapplet/opie-cardapplet.inc')
-rw-r--r--packages/opie-cardapplet/opie-cardapplet.inc10
1 files changed, 7 insertions, 3 deletions
diff --git a/packages/opie-cardapplet/opie-cardapplet.inc b/packages/opie-cardapplet/opie-cardapplet.inc
index 848bfaa63a..a96f972423 100644
--- a/packages/opie-cardapplet/opie-cardapplet.inc
+++ b/packages/opie-cardapplet/opie-cardapplet.inc
@@ -13,22 +13,26 @@ inherit opie
pkg_postinst() {
#!/bin/sh
if pidof -s qpe >/dev/null; then
- /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
+ /usr/bin/qcop QPE/TaskBar "reloadApplets()"
fi
if [ -n "$D" ]; then false; fi
}
pkg_postrm() {
#!/bin/sh
-/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
+/usr/bin/qcop QPE/TaskBar "reloadApplets()"
if [ -n "$D" ]; then false; fi
}
-# FILES plugins/applets/libcardapplet.so* pics/cardmon/*.png sounds/cardmon/*.wav
+# FILES plugins/applets/libcardapplet.so* pics/cardmon/*.png sounds/cardmon/*.wav etc/opie-pcmcia.*
do_install() {
install -d ${D}${palmtopdir}/pics/cardmon/
install -d ${D}${palmtopdir}/sounds/cardmon/
+ install -d ${D}${sysconfdir}/udev/rules.d/
+ install -d ${D}${sysconfdir}/udev/scripts/
install -m 0644 ${WORKDIR}/pics/cardmon/*.png ${D}${palmtopdir}/pics/cardmon/
install -m 0644 ${WORKDIR}/sounds/cardmon/*.wav ${D}${palmtopdir}/sounds/cardmon/
+ install -m 0644 ${WORKDIR}/etc/opie-pcmcia.rules ${D}${sysconfdir}/udev/rules.d/opie-pcmcia.rules
+ install -m 0755 ${WORKDIR}/etc/opie-pcmcia.sh ${D}${sysconfdir}/udev/scripts/opie-pcmcia.sh
}