diff options
Diffstat (limited to '')
-rw-r--r-- | source/x/fontconfig/setup.05.fontconfig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/source/x/fontconfig/setup.05.fontconfig b/source/x/fontconfig/setup.05.fontconfig new file mode 100644 index 000000000..55f25bead --- /dev/null +++ b/source/x/fontconfig/setup.05.fontconfig @@ -0,0 +1,16 @@ +#!/bin/sh +#BLURB="Run fc-cache to locate new fonts for Xft" +if [ -x usr/bin/fc-cache ]; then + if [ "$COLOR" = "on" -o -r $TMP/SeTcolor ]; then + dialog --title "FONTCONFIG UPDATE" --infobox \ + "Please wait while we generate font.cache-1 files with fc-cache. \ +For best results, fc-cache should be run whenever fonts are \ +added to the system." 5 68 + else + echo "Please wait while we generate font.cache-1 files with fc-cache." + echo "For best results, fc-cache should be run whenever fonts are added" + echo "to the system." + fi + chroot . /sbin/ldconfig 1> /dev/null 2> /dev/null + chroot . /usr/bin/fc-cache -f 1> /dev/null 2> /dev/null +fi |