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 <yanok@emcraft.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ilya Yanok 2011-04-28 00:56:59 +02:00 committed by Richard Purdie
parent f564954968
commit 288638e4f2
2 changed files with 6 additions and 0 deletions

View File

@ -34,6 +34,9 @@ do_install () {
pkg_postinst_${PN} () {
#!/bin/sh
if [ "x$D" != "x" ] ; then
exit 1
fi
fc-cache
}

View File

@ -35,6 +35,9 @@ do_install () {
pkg_postinst_${PN} () {
#!/bin/sh
if [ "x$D" != "x" ] ; then
exit 1
fi
fc-cache
}