10 lines
258 B
Bash
10 lines
258 B
Bash
#!/bin/sh
|
|
# Update mkfontscale and mkfontdir:
|
|
if [ -x /bin/mkfontdir ]; then
|
|
mkfontscale share/fonts/TTF 2> /dev/null
|
|
mkfontdir share/fonts/TTF 2> /dev/null
|
|
fi
|
|
# Update the X font indexes:
|
|
if [ -x /bin/fc-cache ]; then
|
|
/bin/fc-cache -f 2> /dev/null
|
|
fi
|