From 501f302fb41e747f2997984a57974ecc0e000b27 Mon Sep 17 00:00:00 2001 From: Rolf Leggewie Date: Tue, 29 Jan 2008 09:45:33 +0000 Subject: opie-ttf-support: prepare for update-font-common. partly closes 2430. --- packages/opie-ttf-support/opie-ttf-support_1.1.bb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/opie-ttf-support/opie-ttf-support_1.1.bb b/packages/opie-ttf-support/opie-ttf-support_1.1.bb index 74de9116b7..d11d8ea75f 100644 --- a/packages/opie-ttf-support/opie-ttf-support_1.1.bb +++ b/packages/opie-ttf-support/opie-ttf-support_1.1.bb @@ -1,7 +1,7 @@ DESCRIPTION = "Meta-package for Opie TTF support" -DEPENDS = "freetype" SECTION = "opie/fonts" -PR = "r2" +DEPENDS = "freetype" +PR = "r3" SRC_URI = "file://update-qtttffontdir.c" S = "${WORKDIR}" @@ -12,12 +12,12 @@ do_compile() { do_install() { install -d ${D}${sbindir} + install -d ${D}${sysconfdir}/update-fonts-common.d/ install -m 0755 update-qtttffontdir ${D}${sbindir} -} - -pkg_postinst() { + echo " #!/bin/sh -if [ -n "$D" ]; then exit 1; fi -mkdir -p ${palmtopdir}/lib/fonts/ -${sbindir}/update-qtttffontdir ${datadir}/fonts/truetype >${palmtopdir}/lib/fonts/fontdir +# Author: Rolf Leggewie + +${sbindir}/update-qtttffontdir ${datadir}/fonts/truetype > ${palmtopdir}/lib/fonts/fontdir +" > ${D}${sysconfdir}/update-fonts-common.d/02qtttffont-update } -- cgit v1.2.3