diff options
Diffstat (limited to 'system/go-fonts/doinst.sh')
-rw-r--r-- | system/go-fonts/doinst.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/system/go-fonts/doinst.sh b/system/go-fonts/doinst.sh new file mode 100644 index 000000000000..26221059a3b8 --- /dev/null +++ b/system/go-fonts/doinst.sh @@ -0,0 +1,11 @@ +# Update the X font indexes: +if [ -x /usr/bin/mkfontdir -o -x /usr/X11R6/bin/mkfontdir ]; then + ( cd /usr/share/fonts/TTF + mkfontscale . + mkfontdir . + ) +fi +if [ -x /usr/bin/fc-cache ]; then + /usr/bin/fc-cache -f +fi + |