slackbuilds_ponce/system/adobe-source-serif-pro-font/doinst.sh

9 lines
213 B
Bash
Raw Normal View History

# Update the X font indexes:
if [ -x /usr/bin/mkfontdir ]; then
/usr/bin/mkfontscale /usr/share/fonts/OTF
/usr/bin/mkfontdir /usr/share/fonts/OTF
fi
if [ -x /usr/bin/fc-cache ]; then
/usr/bin/fc-cache -f
fi