summaryrefslogtreecommitdiff
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorIlya Yanok <yanok@emcraft.com>2011-04-28 00:56:59 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-04 00:48:10 +0100
commitc5156d26fc9ebacb2141f072aee698a7284d7cb8 (patch)
tree802e597182cf3f7fe8f02de613eb9c34d6ce65c6 /meta/recipes-graphics
parent1d7f9211af04bcf77061eaad8a272e976c2d7c1d (diff)
downloadopenembedded-core-c5156d26fc9ebacb2141f072aee698a7284d7cb8.tar.gz
openembedded-core-c5156d26fc9ebacb2141f072aee698a7284d7cb8.tar.bz2
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>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb3
-rw-r--r--meta/recipes-graphics/ttf-fonts/liberation-fonts_1.06.bb3
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 c50d6eb3ff..81aee0ed0b 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 d910cff2bb..1f023b760b 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
}