summaryrefslogtreecommitdiff
path: root/system/dina-font/doinst.sh
diff options
context:
space:
mode:
authorBinh Nguyen <binhnguyen@fastmail.fm>2010-12-28 00:53:19 -0600
committerRobby Workman <rworkman@slackbuilds.org>2010-12-29 01:08:49 -0600
commit2cca181910818e6af4fa9c1e71cb9ae1718af3f7 (patch)
tree75278693ed580c388370792348314f426d063c15 /system/dina-font/doinst.sh
parent385967a3273f28a08da832145c222c00976010d0 (diff)
downloadslackbuilds-2cca181910818e6af4fa9c1e71cb9ae1718af3f7.tar.gz
system/dina-font: Added (a monospace bitmap font)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/dina-font/doinst.sh')
-rw-r--r--system/dina-font/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/dina-font/doinst.sh b/system/dina-font/doinst.sh
new file mode 100644
index 0000000000..d21eaa7233
--- /dev/null
+++ b/system/dina-font/doinst.sh
@@ -0,0 +1,10 @@
+# Update the X font indexes:
+if [ -x /usr/bin/mkfontdir ]; then
+ ( cd /usr/share/fonts/misc
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi