From 59e73c16ee88d29d0c0d923bba43c0cdc53d8a01 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 2 Dec 2014 15:03:12 -0800 Subject: [PATCH] re-generate fontconfig cache in %post to work around #1169979 --- fedora-live-base.ks | 6 ++++++ 1 file changed, 6 insertions(+) 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