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