diff options
author | Ilya Yanok <yanok@emcraft.com> | 2011-04-28 00:56:59 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-04 00:48:10 +0100 |
commit | c5156d26fc9ebacb2141f072aee698a7284d7cb8 (patch) | |
tree | 802e597182cf3f7fe8f02de613eb9c34d6ce65c6 | |
parent | 1d7f9211af04bcf77061eaad8a272e976c2d7c1d (diff) | |
download | openembedded-core-c5156d26fc9ebacb2141f072aee698a7284d7cb8.tar.gz openembedded-core-c5156d26fc9ebacb2141f072aee698a7284d7cb8.tar.bz2 openembedded-core-c5156d26fc9ebacb2141f072aee698a7284d7cb8.tar.xz openembedded-core-c5156d26fc9ebacb2141f072aee698a7284d7cb8.zip |
liberation-fonts: postinst can't be called offline
fc-cache should be called on target system. Or maybe we should pass a
suitable directory list to it?
Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r-- | meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb | 3 | ||||
-rw-r--r-- | meta/recipes-graphics/ttf-fonts/liberation-fonts_1.06.bb | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb b/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb index c50d6eb3f..81aee0ed0 100644 --- a/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb +++ b/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb @@ -34,6 +34,9 @@ do_install () { pkg_postinst_${PN} () { #!/bin/sh +if [ "x$D" != "x" ] ; then + exit 1 +fi fc-cache } diff --git a/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.06.bb b/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.06.bb index d910cff2b..1f023b760 100644 --- a/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.06.bb +++ b/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.06.bb @@ -35,6 +35,9 @@ do_install () { pkg_postinst_${PN} () { #!/bin/sh +if [ "x$D" != "x" ] ; then + exit 1 +fi fc-cache } |