source: npl/X/fontconfig/setup.05.fontconfig @ c5c522c

gcc484ntopperl-5.22
Last change on this file since c5c522c was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 657 bytes
Line 
1#!/bin/sh
2#BLURB="Run fc-cache to locate new fonts for Xft"
3if [ -x usr/bin/fc-cache ]; then
4  if [ "$COLOR" = "on" -o -r $TMP/SeTcolor ]; then
5    dialog --title "FONTCONFIG UPDATE" --infobox \
6  "Please wait while we generate font.cache-1 files with fc-cache.  \
7For best results, fc-cache should be run whenever fonts are \
8added to the system." 5 68
9  else
10    echo "Please wait while we generate font.cache-1 files with fc-cache."
11    echo "For best results, fc-cache should be run whenever fonts are added"
12    echo "to the system."
13  fi
14  chroot . /sbin/ldconfig 1> /dev/null 2> /dev/null
15  chroot . /usr/bin/fc-cache -f 1> /dev/null 2> /dev/null
16fi
Note: See TracBrowser for help on using the repository browser.