slackbuilds_ponce/system/noto-extra-ttf/doinst.sh
K. Eugene Carlson b113064ac7
system/noto-extra-ttf: Added (extra Noto fonts)
Signed-off-by: bedlam <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2023-04-29 18:11:41 +07:00

10 lines
203 B
Bash

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