slackbuilds_ponce/system/ttf-crosscorefonts/doinst.sh
Edinaldo P. Silva 65b85d166e system/ttf-crosscorefonts: Added (fonts from ChromeOS).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
2016-12-04 19:28:52 +00: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