#!/bin/sh
#BLURB="Run fc-cache to locate new fonts for Xft"
if [ -x .@BINDIR@/fc-cache ]; 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
	chroot . /sbin/ldconfig 1> /dev/null 2> /dev/null
	chroot . @BINDIR@/fc-cache -f 1> /dev/null 2> /dev/null
fi
