diff options
Diffstat (limited to 'source/x/x11/doinst.sh/font-jis-misc')
-rw-r--r-- | source/x/x11/doinst.sh/font-jis-misc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/x/x11/doinst.sh/font-jis-misc b/source/x/x11/doinst.sh/font-jis-misc new file mode 100644 index 000000000..63055f0e1 --- /dev/null +++ b/source/x/x11/doinst.sh/font-jis-misc @@ -0,0 +1,11 @@ +#!/bin/sh +# Update the X font indexes: +if [ -x /usr/bin/mkfontdir -o -x /usr/X11R6/bin/mkfontdir ]; then + ( cd /usr/share/fonts/misc + mkfontscale . + mkfontdir -e /usr/share/fonts/encodings -e /usr/share/fonts/encodings/large . + ) +fi +if [ -x /usr/bin/fc-cache ]; then + /usr/bin/fc-cache -f +fi |