update_font_cache 359 B

12345678910111213
  1. #!/bin/sh
  2. #
  3. # SPDX-License-Identifier: MIT
  4. #
  5. set -e
  6. rm -f $D${fontconfigcachedir}/CACHEDIR.TAG
  7. PSEUDO_UNLOAD=1 ${binprefix}qemuwrapper -L $D -E ${fontconfigcacheenv} $D${libexecdir}/${binprefix}fc-cache --sysroot=$D --system-only ${fontconfigcacheparams}
  8. chown -R root:root $D${fontconfigcachedir}
  9. find $D -type f -name .uuid -exec chown root:root '{}' +