From 288638e4f23d90800f95ebaa606aaffca79c3bbc Mon Sep 17 00:00:00 2001 From: Ilya Yanok Date: Thu, 28 Apr 2011 00:56:59 +0200 Subject: 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? (From OE-Core rev: c5156d26fc9ebacb2141f072aee698a7284d7cb8) Signed-off-by: Ilya Yanok Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb | 3 +++ meta/recipes-graphics/ttf-fonts/liberation-fonts_1.06.bb | 3 +++ 2 files changed, 6 insertions(+) (limited to 'meta/recipes-graphics/ttf-fonts') 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 } -- cgit v1.2.3-54-g00ecf