slackbuilds_ponce/system/gnu-unifont/doinst.sh
Tomasz Bywalec 0fb858bd22
system/gnu-unifont: Updated for version 14.0.03.
Also, replaced TTF with OTF in default formats list (TTF is no longer
default, but still can be included in the package by adding this format
to the FONTFORMATS environment variable when running the script).

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2022-05-21 08:25:36 +07:00

10 lines
309 B
Bash

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