From c5156d26fc9ebacb2141f072aee698a7284d7cb8 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? Signed-off-by: Ilya Yanok Signed-off-by: Saul Wold --- 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') 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 } -- cgit v1.2.3