diff options
Diffstat (limited to 'system/ttf-sakalbharati/doinst.sh')
-rw-r--r-- | system/ttf-sakalbharati/doinst.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/system/ttf-sakalbharati/doinst.sh b/system/ttf-sakalbharati/doinst.sh new file mode 100644 index 0000000000..bfdd460697 --- /dev/null +++ b/system/ttf-sakalbharati/doinst.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +# 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 |