summaryrefslogtreecommitdiffstats
path: root/system/fira-fonts/doinst.sh
diff options
context:
space:
mode:
author David O'Shaughnessy <dev@osh.id.au>2016-07-27 12:06:27 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-07-30 06:03:46 +0700
commit0fd3d5fb2890a994a2a64137b81e3f2c50cde10d (patch)
tree2a2fcb9d4e184ecb78568ea3be846ad24531f12d /system/fira-fonts/doinst.sh
parentb51d81c15eb5831d0c12c447b4ea74acde1605b8 (diff)
downloadslackbuilds-0fd3d5fb2890a994a2a64137b81e3f2c50cde10d.tar.gz
slackbuilds-0fd3d5fb2890a994a2a64137b81e3f2c50cde10d.tar.xz
system/fira-fonts: Added (Open Source Type Font).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/fira-fonts/doinst.sh')
-rw-r--r--system/fira-fonts/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/fira-fonts/doinst.sh b/system/fira-fonts/doinst.sh
new file mode 100644
index 0000000000..ff1dece33d
--- /dev/null
+++ b/system/fira-fonts/doinst.sh
@@ -0,0 +1,10 @@
+# Update the X font indexes:
+if [ -x /usr/bin/mkfontdir ]; then
+ ( cd /usr/share/fonts/OTF
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi