slackbuilds_ponce/system/adobe-source-code-pro-font/doinst.sh
Dugan Chen 28b3940fb5 system/adobe-source-code-pro-font: Only install OTF fonts.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
2012-12-23 09:16:31 -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