summaryrefslogtreecommitdiff
path: root/system/symbola-font-ttf/doinst.sh
diff options
context:
space:
mode:
authorAlexander Verbovetsky <alik@ejik.org>2016-07-24 21:12:55 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-07-30 08:28:43 +0700
commit8dcbffd41a0ac3efebdddb93d5f71ca6ff31cc28 (patch)
tree825651f2ae946c71c2587dc3bd3d9fa0f838c689 /system/symbola-font-ttf/doinst.sh
parentf6c3893b93e7df603cec62c9f24015af76cf3b53 (diff)
downloadslackbuilds-8dcbffd41a0ac3efebdddb93d5f71ca6ff31cc28.tar.gz
system/symbola-font-ttf: Added (unicode symbol blocks)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/symbola-font-ttf/doinst.sh')
-rw-r--r--system/symbola-font-ttf/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/symbola-font-ttf/doinst.sh b/system/symbola-font-ttf/doinst.sh
new file mode 100644
index 0000000000..883c47ac0a
--- /dev/null
+++ b/system/symbola-font-ttf/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