diff options
Diffstat (limited to 'packages/opie-ttf-support/opie-ttf-support_1.0.0.bb')
-rw-r--r-- | packages/opie-ttf-support/opie-ttf-support_1.0.0.bb | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/packages/opie-ttf-support/opie-ttf-support_1.0.0.bb b/packages/opie-ttf-support/opie-ttf-support_1.0.0.bb index 75723f17bb..10180deea3 100644 --- a/packages/opie-ttf-support/opie-ttf-support_1.0.0.bb +++ b/packages/opie-ttf-support/opie-ttf-support_1.0.0.bb @@ -2,7 +2,7 @@ DESCRIPTION = "Meta-package for Opie TTF support" DEPENDS = "freetype opie-freetype" RDEPENDS = "opie-freetype" SECTION = "opie/fonts" -PR = "r3" +PR = "r4" SRC_URI = "file://update-qtttffontdir.c" S = "${WORKDIR}" @@ -18,11 +18,7 @@ do_install() { pkg_postinst() { #!/bin/sh -if [ -n "$D" ] -then - ${sbindir}/update-qtttffontdir /usr/local/share/fonts/truetype >/opt/QtPalmtop/lib/fonts/fontdir - exit 0 -else - exit 1 -fi +if [ -n "$D" ]; then exit 1; fi +mkdir -p /opt/QtPalmtop/lib/fonts/ +${sbindir}/update-qtttffontdir ${datadir}/fonts/truetype >/opt/QtPalmtop/lib/fonts/fontdir } |