slackbuilds_ponce/system/overpass-webfonts/doinst.sh
Nishant Limbachia eb7ed6d88f system/overpass-webfonts: Added (Open Source web fonts by RedHat).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
2017-06-19 16:36:32 +01:00

11 lines
194 B
Bash

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