diff options
Diffstat (limited to 'system/ttf-ancient-fonts/doinst.sh')
-rw-r--r-- | system/ttf-ancient-fonts/doinst.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/system/ttf-ancient-fonts/doinst.sh b/system/ttf-ancient-fonts/doinst.sh new file mode 100644 index 0000000000000..2b48ae510ccbd --- /dev/null +++ b/system/ttf-ancient-fonts/doinst.sh @@ -0,0 +1,13 @@ +if [ -x /usr/bin/mkfontdir ]; then + ( cd usr/share/fonts/TTF + mkfontscale . + mkfontdir . + ) + ( cd usr/share/fonts/OTF + mkfontscale . + mkfontdir . + ) +fi +if [ -x /usr/bin/fc-cache ]; then + /usr/bin/fc-cache -f +fi |