diff options
author | Michael Lauer <mickey@vanille-media.de> | 2005-06-30 12:43:33 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-06-30 12:43:33 +0000 |
commit | 77fd2654d8081ec58ae8dc9a83ec9467734edfaf (patch) | |
tree | 855a239712c2c3ece35248abe3cbb433c59a0e36 /packages | |
parent | 8ab10476c6533b4b18c3d7eccb4fda677e716a49 (diff) |
opie-ttf-support: fix postinstall script
Diffstat (limited to 'packages')
-rw-r--r-- | packages/opie-ttf-support/opie-ttf-support_1.0.0.bb | 9 |
1 files changed, 2 insertions, 7 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..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 } |