diff options
Diffstat (limited to 'source/x/noto-cjk-fonts-ttf/doinst.sh')
-rw-r--r-- | source/x/noto-cjk-fonts-ttf/doinst.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/x/noto-cjk-fonts-ttf/doinst.sh b/source/x/noto-cjk-fonts-ttf/doinst.sh new file mode 100644 index 000000000..2056d0734 --- /dev/null +++ b/source/x/noto-cjk-fonts-ttf/doinst.sh @@ -0,0 +1,9 @@ +#!/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 |