summaryrefslogtreecommitdiffstats
path: root/system/ttf-lato/doinst.sh
diff options
context:
space:
mode:
author Dariusz Brzezinski2018-03-16 19:21:18 +0100
committer Willy Sudiarto Raharjo2018-03-16 19:21:18 +0100
commit6edff18fd62630c2e63d3bb1315bcee91aa8dd03 (patch)
treed121989410bf0eaccfa548d2b6dd8fe0e435e41b /system/ttf-lato/doinst.sh
parent101684046c1f6ebf85afc8808926060d407d0822 (diff)
downloadslackbuilds-6edff18fd62630c2e63d3bb1315bcee91aa8dd03.tar.gz
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.sh11
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 0000000000..8fec9f5340
--- /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