slackbuilds_ponce/system/adobe-source-sans-pro-font/doinst.sh
Daniel LEVAI 041ae4f64a system/adobe-source-sans-pro-font: Added (adobe-source sans font).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
2012-11-24 15:36:46 -05:00

17 lines
297 B
Bash

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