From: Ilya Yanok Date: Wed, 27 Apr 2011 22:56:59 +0000 (+0200) Subject: liberation-fonts: postinst can't be called offline X-Git-Tag: 2011-1~1608 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=c5156d26fc9ebacb2141f072aee698a7284d7cb8;p=openembedded-core.git 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 --- 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 }