summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-07-16 18:15:22 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-07-16 18:15:22 +0000
commitad12fd539f08f48f12525f079dc86b7697ff38e8 (patch)
tree29c9274ac698e8f4f83a2cd81ad2565565f4cea6
parent11154b68d9573c8d5b8af0558b17eb862ead1bdf (diff)
install a qpe.conf during postinst, if not existing
BKrev: 40f81b3aXDy7BF--PfP2H7pHK7UBPA
-rw-r--r--opie-taskbar/opie-taskbar_cvs.oe13
1 files changed, 11 insertions, 2 deletions
diff --git a/opie-taskbar/opie-taskbar_cvs.oe b/opie-taskbar/opie-taskbar_cvs.oe
index cf0ad96698..63900ed21a 100644
--- a/opie-taskbar/opie-taskbar_cvs.oe
+++ b/opie-taskbar/opie-taskbar_cvs.oe
@@ -5,7 +5,7 @@ LICENSE = "GPL"
DEPENDS = "opie-libqrsync "
PV = "1.1.4-cvs-${CVSDATE}"
APPNAME = "qpe"
-PR = "r6"
+PR = "r7"
SRC_URI = "cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/core/apps/calibrate;date=${CVSDATE} \
cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/noncore/settings/mediummount;date=${CVSDATE} \
@@ -16,7 +16,8 @@ SRC_URI = "cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/core/apps/cal
cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/etc;date=${CVSDATE} \
file://server.pro \
file://opie-reorgfiles \
- file://opie"
+ file://opie \
+ file://qpe.conf"
S = "${WORKDIR}/launcher"
@@ -49,6 +50,7 @@ do_install() {
install -d ${D}/${palmtopdir}/pics/logo
install -d ${D}/etc/init.d
install -d ${D}/${palmtopdir}/etc/colors
+ install -d ${D}/${palmtopdir}/etc/skeleton
install -m 0755 ${S}/qpe ${D}/${palmtopdir}/bin/qpe
install -m 0755 ${WORKDIR}/opie-reorgfiles ${D}/${palmtopdir}/bin/
@@ -58,6 +60,13 @@ do_install() {
install -m 0644 ${WORKDIR}/etc/colors/*.scheme ${D}/${palmtopdir}/etc/colors/
install -m 0644 ${WORKDIR}/etc/mime.types ${D}/etc/
install -m 0755 ${WORKDIR}/opie ${D}/etc/init.d/opie
+ install -m 0644 ${WORKDIR}/qpe.conf ${D}/${palmtopdir}/etc/skeleton/
+}
+
+pkg_postinst() {
+#!/bin/sh
+if [ -n "$D" ]; then exit 1; fi
+[ -e "/home/$USER/Settings/qpe.conf" ] || cp -f /opt/QtPalmtop/etc/skeleton/qpe.conf /home/$USER/Settings/qpe.conf
}
FILES_opie-taskbar_append = " /etc ${palmtopdir}/apps ${palmtopdir}/pics"