summaryrefslogtreecommitdiffstats
path: root/system/victor-mono-fonts/doinst.sh
diff options
context:
space:
mode:
author Justin Teague2021-02-19 21:27:42 +0100
committer Willy Sudiarto Raharjo2021-02-20 18:05:00 +0100
commitd287ee66a20b2757e3199371a100a9ad97c20154 (patch)
treede33c0b8cd60aaf8ce9f227b15c93cac4d00babd /system/victor-mono-fonts/doinst.sh
parentf676644959672bdd42130b579c374ba10045cecb (diff)
downloadslackbuilds-d287ee66a20b2757e3199371a100a9ad97c20154.tar.gz
system/victor-mono-fonts: Added (monospaced font)
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/victor-mono-fonts/doinst.sh')
-rw-r--r--system/victor-mono-fonts/doinst.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/system/victor-mono-fonts/doinst.sh b/system/victor-mono-fonts/doinst.sh
new file mode 100644
index 0000000000..ca4c042169
--- /dev/null
+++ b/system/victor-mono-fonts/doinst.sh
@@ -0,0 +1,14 @@
+# Update the X font indexes:
+if [ -x /usr/bin/mkfontdir ]; then
+ ( cd /usr/share/fonts/TTF
+ /usr/bin/mkfontscale .
+ /usr/bin/mkfontdir .
+ )
+ ( cd /usr/share/fonts/OTF
+ /usr/bin/mkfontscale .
+ /usr/bin/mkfontdir .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi