summaryrefslogtreecommitdiff
path: root/scripts/postinst-intercepts
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2015-04-07 13:21:13 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-21 07:19:05 +0100
commit40f7986313277ef815b19331388bca124187bfeb (patch)
treee4df1b901a27653ddda5dfacd36de42abbc43f22 /scripts/postinst-intercepts
parenta44d27b92baba4ab51f432ec01cdc473436ce406 (diff)
downloadopenembedded-core-40f7986313277ef815b19331388bca124187bfeb.tar.gz
openembedded-core-40f7986313277ef815b19331388bca124187bfeb.tar.bz2
openembedded-core-40f7986313277ef815b19331388bca124187bfeb.zip
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}