From 77fd2654d8081ec58ae8dc9a83ec9467734edfaf Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Thu, 30 Jun 2005 12:43:33 +0000 Subject: opie-ttf-support: fix postinstall script --- packages/opie-ttf-support/opie-ttf-support_1.0.0.bb | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'packages/opie-ttf-support') 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 } -- cgit v1.2.3