summaryrefslogblamecommitdiffstats
path: root/source/x/fontconfig/setup.05.fontconfig
blob: 55f25bead944fd95c29488596bfd0fc581cfe27d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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