mirror of
git://slackware.nl/current.git
synced 2024-12-27 09:59:16 +01:00
10 lines
273 B
Bash
10 lines
273 B
Bash
|
#!/bin/sh
|
||
|
# Update the X font indexes:
|
||
|
if [ -x /usr/bin/mkfontdir -o -x /usr/X11R6/bin/mkfontdir ]; then
|
||
|
mkfontscale usr/share/fonts/TTF 2> /dev/null
|
||
|
mkfontdir usr/share/fonts/TTF 2> /dev/null
|
||
|
fi
|
||
|
if [ -x /usr/bin/fc-cache ]; then
|
||
|
/usr/bin/fc-cache -f 2> /dev/null
|
||
|
fi
|