diff options
Diffstat (limited to 'system/ttf-babelstone-latin/doinst.sh')
-rw-r--r-- | system/ttf-babelstone-latin/doinst.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/system/ttf-babelstone-latin/doinst.sh b/system/ttf-babelstone-latin/doinst.sh new file mode 100644 index 0000000000..2b9a8c5e32 --- /dev/null +++ b/system/ttf-babelstone-latin/doinst.sh @@ -0,0 +1,14 @@ +# Update the X font indexes: +if [ -x /usr/bin/mkfontdir ]; then + ( cd /usr/share/fonts/TTF + mkfontscale . + mkfontdir . + ) +fi + +[ "$DISPLAY" != "" ] && xset fp rehash 2>/dev/null + +if [ -x /usr/bin/fc-cache ]; then + /usr/bin/fc-cache -f +fi + |