aboutsummaryrefslogtreecommitdiff
path: root/system/gnu-unifont/doinst.sh
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-28 16:58:44 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-28 23:45:47 +0700
commitb6302a54efb01c821fc559d6c432cefc100c550d (patch)
treeac22df633aa0cde1acea5ceffe84a874736ab92f /system/gnu-unifont/doinst.sh
parent3a024b65cf48fca8d796b502b4d00a7699ad6edf (diff)
system/gnu-unifont: Moved to system category.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/gnu-unifont/doinst.sh')
-rw-r--r--system/gnu-unifont/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/system/gnu-unifont/doinst.sh b/system/gnu-unifont/doinst.sh
new file mode 100644
index 000000000000..2822cf238c26
--- /dev/null
+++ b/system/gnu-unifont/doinst.sh
@@ -0,0 +1,9 @@
+# Update the X font indexes:
+if [ -x /usr/bin/mkfontdir ]; then
+ ( cd /usr/share/fonts/misc ; mkfontscale . ; mkfontdir . )
+ ( cd /usr/share/fonts/TTF ; mkfontscale . ; mkfontdir . )
+fi
+
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi