summaryrefslogtreecommitdiff
path: root/scripts/postinst-intercepts/update_font_cache
blob: bf65e19a41de5001420768b894bfd7ed659aa845 (plain)
1
2
3
4
5
6
7
#!/bin/sh

set -e

PSEUDO_UNLOAD=1 qemuwrapper -L $D -E LD_LIBRARY_PATH=$D/${libdir}:$D/${base_libdir} \
					-E ${fontconfigcacheenv} $D${bindir}/fc-cache --sysroot=$D --system-only ${fontconfigcacheparams}
chown -R root:root $D${fontconfigcachedir}