slackbuilds_ponce/system/adobe-source-sans-pro-font/doinst.sh
Dugan Chen 5348ef7f2a system/adobe-source-sans-pro-font: Only install OTF fonts.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
2012-12-23 09:16:32 -05:00

9 lines
214 B
Bash

# 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