summaryrefslogtreecommitdiffstats
path: root/scripts/postinst-intercepts/update_font_cache
blob: 46bdb8c572b4a29859b8d7d9319abfa73de25a18 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
#
# SPDX-License-Identifier: MIT
#

set -e

PSEUDO_UNLOAD=1 ${binprefix}qemuwrapper -L $D -E ${fontconfigcacheenv} $D${libexecdir}/${binprefix}fc-cache --sysroot=$D --system-only ${fontconfigcacheparams}

chown -R root:root $D${fontconfigcachedir}
find $D -type f -name .uuid -exec chown root:root '{}' +