slackbuilds_ponce/system/culmus/doinst.sh
Robby Workman 80587f16a1 system/culmus: Fix font installation and doinst.sh paths
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2014-12-13 10:35:47 +07:00

17 lines
302 B
Bash

#!/bin/sh
if [ -x /usr/bin/fc-cache ]; then
/usr/bin/fc-cache -f
fi
# Update the X font indexes:
if [ -x /usr/bin/mkfontdir -o -x /usr/X11R6/bin/mkfontdir ]; then
( cd /usr/share/fonts/TTF
mkfontscale .
mkfontdir .
)
( cd /usr/share/fonts/Type1
mkfontscale .
mkfontdir .
)