From 59e73c16ee88d29d0c0d923bba43c0cdc53d8a01 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Dec 02 2014 23:03:12 +0000 Subject: re-generate fontconfig cache in %post to work around #1169979 --- diff --git a/fedora-live-base.ks b/fedora-live-base.ks index 8c4899d..af07cc3 100644 --- a/fedora-live-base.ks +++ b/fedora-live-base.ks @@ -299,6 +299,12 @@ rm -f /core* # convince readahead not to collect # FIXME: for systemd +# forcibly regenerate fontconfig cache (so long as this live image has +# fontconfig) - see #1169979 +if [ -x /usr/bin/fc-cache ] ; then + fc-cache -f +fi + %end