diff options
author | Dariusz Brzezinski <dabrze@gmail.com> | 2018-03-17 01:21:18 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-03-17 01:21:18 +0700 |
commit | 6edff18fd62630c2e63d3bb1315bcee91aa8dd03 (patch) | |
tree | d121989410bf0eaccfa548d2b6dd8fe0e435e41b /system/ttf-lato/doinst.sh | |
parent | 101684046c1f6ebf85afc8808926060d407d0822 (diff) |
system/ttf-lato: Added (TrueType Font).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 |