mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-26 22:06:35 +01:00
78bae56bc0
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
14 lines
293 B
Bash
14 lines
293 B
Bash
# Update the X font indexes:
|
|
if [ -x /usr/bin/mkfontdir ]; then
|
|
( cd usr/share/fonts/TTF
|
|
/usr/bin/mkfontscale .
|
|
/usr/bin/mkfontdir .
|
|
)
|
|
( cd usr/share/fonts/OTF
|
|
/usr/bin/mkfontscale .
|
|
/usr/bin/mkfontdir .
|
|
)
|
|
fi
|
|
if [ -x /usr/bin/fc-cache ]; then
|
|
/usr/bin/fc-cache -f
|
|
fi
|