summaryrefslogtreecommitdiffstats
path: root/scripts/postinst-intercepts
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2015-04-21 12:53:03 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-27 15:02:38 +0100
commit80bc382c62a55d9502504e5b77744b3bd0f981ab (patch)
treedad4ed0c619b25eb084109835e7f265614d1b36b /scripts/postinst-intercepts
parent0dc2a530dfeadccd7b3baa2d8f5a478aa7ead1fb (diff)
downloadpoky-80bc382c62a55d9502504e5b77744b3bd0f981ab.tar.gz
poky-80bc382c62a55d9502504e5b77744b3bd0f981ab.tar.bz2
poky-80bc382c62a55d9502504e5b77744b3bd0f981ab.zip
fontcache: allow to pass different fontconfig cache dir
(From OE-Core rev: fc732ee788a254ec388cff8fe5619348014255d3) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/postinst-intercepts')
-rw-r--r--scripts/postinst-intercepts/update_font_cache4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/postinst-intercepts/update_font_cache b/scripts/postinst-intercepts/update_font_cache
index 3907f25f19..c8c6018f27 100644
--- a/scripts/postinst-intercepts/update_font_cache
+++ b/scripts/postinst-intercepts/update_font_cache
@@ -2,6 +2,4 @@
PSEUDO_UNLOAD=1 qemuwrapper -L $D -E LD_LIBRARY_PATH=$D/${libdir}:$D/${base_libdir}\
$D${bindir}/fc-cache --sysroot=$D
-chown -R root:root $D${localstatedir}/cache/fontconfig
-
-
+chown -R root:root $D${fontconfigcachedir}