From: Michael Lauer Date: Thu, 30 Jun 2005 12:43:33 +0000 (+0000) Subject: opie-ttf-support: fix postinstall script X-Git-Tag: Release-2010-05/1~9453^2~4281 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77fd2654d8081ec58ae8dc9a83ec9467734edfaf;p=openembedded.git opie-ttf-support: fix postinstall script --- 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..edb5557405 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 @@ -18,11 +18,6 @@ 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 +${sbindir}/update-qtttffontdir ${datadir}/fonts/truetype >/opt/QtPalmtop/lib/fonts/fontdir }