summaryrefslogtreecommitdiff
path: root/packages/opie-icon-reload/opie-icon-reload.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/opie-icon-reload/opie-icon-reload.inc')
-rw-r--r--packages/opie-icon-reload/opie-icon-reload.inc7
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/opie-icon-reload/opie-icon-reload.inc b/packages/opie-icon-reload/opie-icon-reload.inc
index 01f8247f50..a83aa34f96 100644
--- a/packages/opie-icon-reload/opie-icon-reload.inc
+++ b/packages/opie-icon-reload/opie-icon-reload.inc
@@ -9,15 +9,16 @@ SRC_URI = "file://icon-reload.desktop \
file://icon-reload.sh \
file://reload.png"
-FILES_${PN} += "/opt"
+FILES_${PN} += "${palmtopdir}"
do_install() {
install -d ${D}${palmtopdir}/apps/Settings
- install -d ${D}${palmtopdir}/bin
+ install -d ${D}${bindir}
install -d ${D}${palmtopdir}/pics
install -m 0644 ${WORKDIR}/icon-reload.desktop ${D}${palmtopdir}/apps/Settings
- install -m 0755 ${WORKDIR}/icon-reload.sh ${D}${palmtopdir}/bin
+ install -m 0755 ${WORKDIR}/icon-reload.sh ${D}${bindir}
+ sed -i -e 's,@bindir@,${bindir},g' ${D}${bindir}/icon-reload.sh
install -m 0644 ${WORKDIR}/reload.png ${D}${palmtopdir}/pics
}