aboutsummaryrefslogtreecommitdiff
path: root/system/JetBrainsMono/doinst.sh
diff options
context:
space:
mode:
authorWainamoinen <wainamoinen@gmail.com>2020-01-20 06:56:00 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-01-20 06:56:00 +0700
commit7259b26397265fa397cef970f7ae2d96514809d1 (patch)
tree0051bb1643b87bac9354b2882bf90538be18f10a /system/JetBrainsMono/doinst.sh
parent0fa512cd35a56897cb155beddcc087ee3eb12f6c (diff)
system/JetBrainsMono: Added (a typeface for developers).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/JetBrainsMono/doinst.sh')
-rw-r--r--system/JetBrainsMono/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/JetBrainsMono/doinst.sh b/system/JetBrainsMono/doinst.sh
new file mode 100644
index 0000000000000..883c47ac0a60c
--- /dev/null
+++ b/system/JetBrainsMono/doinst.sh
@@ -0,0 +1,10 @@
+# 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