5
if [ "$1" = "configure" ]; then
6
if [ -x "/usr/bin/mkfontdir" -o -x "/usr/bin/X11/mkfontdir" ]; then
7
if [ -d "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" ]; then
8
mkfontdir /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
11
if [ -x "/usr/bin/fc-cache" ]; then
12
echo -n "Regenerating fonts cache... "
13
if (fc-cache -f -v 1>/var/log/fontconfig.log 2>&1); then
16
echo "failed; see /var/log/fontconfig.log for more information."