diff options
Diffstat (limited to 'system/hermit-font/doinst.sh')
-rw-r--r-- | system/hermit-font/doinst.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/system/hermit-font/doinst.sh b/system/hermit-font/doinst.sh new file mode 100644 index 0000000000..cdcb786ebe --- /dev/null +++ b/system/hermit-font/doinst.sh @@ -0,0 +1,13 @@ +# Update mkfontscale and mkfontdir: +if [ -x /usr/bin/mkfontdir ]; then + ( cd /usr/share/fonts/misc + mkfontscale . + mkfontdir . + ) +fi + +# Update the X font indexes: +if [ -x /usr/bin/fc-cache ]; then + /usr/bin/fc-cache -f +fi + |