summaryrefslogtreecommitdiff
path: root/system/cwtex-q-fonts/doinst.sh
diff options
context:
space:
mode:
authorCCHsu <a12321aabb@gmail.com>2014-03-23 14:09:46 -0500
committerErik Hanson <erik@slackbuilds.org>2014-04-12 13:58:34 -0500
commitd34737a1b3a0e0d01c285c0abe21984f7fe697f9 (patch)
treebaef7d08aac613aa14648f09e53a2dd02b75c74a /system/cwtex-q-fonts/doinst.sh
parent159ef22cb64c725662fc75cd86f8614571e114c2 (diff)
downloadslackbuilds-d34737a1b3a0e0d01c285c0abe21984f7fe697f9.tar.gz
system/cwtex-q-fonts: Added (modified cwTeX TTF fonts)
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'system/cwtex-q-fonts/doinst.sh')
-rw-r--r--system/cwtex-q-fonts/doinst.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/cwtex-q-fonts/doinst.sh b/system/cwtex-q-fonts/doinst.sh
new file mode 100644
index 0000000000..3884b2a547
--- /dev/null
+++ b/system/cwtex-q-fonts/doinst.sh
@@ -0,0 +1,11 @@
+# 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
+