summaryrefslogtreecommitdiffstats
path: root/meta/classes/fontcache.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/fontcache.bbclass')
-rw-r--r--meta/classes/fontcache.bbclass10
1 files changed, 2 insertions, 8 deletions
diff --git a/meta/classes/fontcache.bbclass b/meta/classes/fontcache.bbclass
index 0bc309a129..9136c5a886 100644
--- a/meta/classes/fontcache.bbclass
+++ b/meta/classes/fontcache.bbclass
@@ -8,19 +8,13 @@ inherit qemu
8 8
9FONT_PACKAGES ??= "${PN}" 9FONT_PACKAGES ??= "${PN}"
10 10
11#
12# On host, the postinstall MUST return 1 because we do not know if the intercept
13# hook will succeed. If it does succeed, than the packages will be marked as
14# installed.
15#
16fontcache_common() { 11fontcache_common() {
17if [ "x$D" != "x" ] ; then 12if [ "x$D" != "x" ] ; then
18 $INTERCEPT_DIR/postinst_intercept update_font_cache ${PKG} bindir=${bindir} \ 13 $INTERCEPT_DIR/postinst_intercept update_font_cache ${PKG} bindir=${bindir} \
19 libdir=${libdir} base_libdir=${base_libdir} 14 libdir=${libdir} base_libdir=${base_libdir}
20 exit 1 15else
16 fc-cache
21fi 17fi
22
23fc-cache
24} 18}
25 19
26python populate_packages_append() { 20python populate_packages_append() {