aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/postinst-intercepts
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2015-04-21 12:53:40 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-27 15:01:40 +0100
commitadfb970efcb30af9b3b420b06b66e2aa6cc00ab4 (patch)
tree5ba6bef1e6dd8a0cc7c72a8b5a9c443aa6ce1ee6 /scripts/postinst-intercepts
parent10399fd97439af12cc23f199ec668a43c230ded4 (diff)
downloadopenembedded-core-adfb970efcb30af9b3b420b06b66e2aa6cc00ab4.tar.gz
fontcache: allow to pass different fontconfig cache dir
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}