diff options
author | Vijay Marcel <vijaymarcel@outlook.com> | 2024-04-19 21:52:53 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-04-19 22:21:01 +0700 |
commit | 9baa4ece206bf1f30a8b84f08a22061929656659 (patch) | |
tree | d48ca290329495d881a6cf72cc90827a9b115346 /system/ttf-sakalbharati/doinst.sh | |
parent | 80bde231a9f66bf079ff90b58788b050da0c1c21 (diff) |
system/ttf-sakalbharati: Added (ttf fonts).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 0000000000000..bfdd4606970e1 --- /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 |