qpf-font-common: fonts aren't in /opt/QtPalmtop anymore
authorMichael Krelin <hacker@klever.net>
Sat, 7 Jul 2007 22:22:23 +0000 (22:22 +0000)
committerMichael Krelin <hacker@klever.net>
Sat, 7 Jul 2007 22:22:23 +0000 (22:22 +0000)
packages/qpf-fonts/files/update-qtfontdir
packages/qpf-fonts/qpf-font-common_1.0.bb

index 857dc6c..34f2ffd 100755 (executable)
@@ -41,7 +41,7 @@ if [ -z "$1" ]; then
        if [ -n "$QTDIR" ]; then
                fontdir=$QTDIR/lib/fonts
        else
-               fontdir=/opt/QtPalmtop/lib/fonts
+               fontdir=@palmtopdir@/lib/fonts
        fi
 else
        fontdir=$1
index 306fa22..41bdad0 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "Qt/Embedded Fonts Common Files"
 SECTION = "opie/fonts"
 PRIORITY = "optional"
 LICENSE = "GPL QPL"
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "file://update-qtfontdir"
 S = "${WORKDIR}/qt-${PV}"
@@ -10,4 +10,5 @@ S = "${WORKDIR}/qt-${PV}"
 do_install() {
        install -d ${D}${sbindir}/
        install -m 0755 ${WORKDIR}/update-qtfontdir ${D}${sbindir}/
+       sed -i -e 's,@palmtopdir@,${palmtopdir},g' ${D}${sbindir}/update-qtfontdir
 }