aboutsummaryrefslogtreecommitdiff
path: root/misc/gnu-unifont/doinst.sh
diff options
context:
space:
mode:
authorcrocket <crockabiscuit@yahoo.com>2010-06-29 19:33:05 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-06-29 19:33:05 -0500
commitb8b1b9cccdedbcfbb792c8e80eae5720bcd924e3 (patch)
treea5293adaf60d633c34caeb4e4aff205cec838b4c /misc/gnu-unifont/doinst.sh
parent5d01a57e7b1059d772f24817544c0d056098a430 (diff)
misc/gnu-unifont: Added (GNU Unicode font)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'misc/gnu-unifont/doinst.sh')
-rw-r--r--misc/gnu-unifont/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/misc/gnu-unifont/doinst.sh b/misc/gnu-unifont/doinst.sh
new file mode 100644
index 000000000000..dfef345e4396
--- /dev/null
+++ b/misc/gnu-unifont/doinst.sh
@@ -0,0 +1,10 @@
+# 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
+