summaryrefslogtreecommitdiffstats
path: root/system/adobe-source-serif-pro-font/doinst.sh
diff options
context:
space:
mode:
author Dugan Chen <thedoogster@gmail.com>2014-09-02 09:22:21 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2014-09-06 00:02:49 +0700
commit00a83bf640557d86cfe2c4c96a4fd28b882a13f2 (patch)
tree0cda9592561f9750078dcfd51f112a0d9d79359f /system/adobe-source-serif-pro-font/doinst.sh
parentf295321e1aee52e978ceacb756f5971a63af4260 (diff)
downloadslackbuilds-00a83bf640557d86cfe2c4c96a4fd28b882a13f2.tar.gz
slackbuilds-00a83bf640557d86cfe2c4c96a4fd28b882a13f2.tar.xz
system/adobe-source-serif-pro-font: Added (open source font).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/adobe-source-serif-pro-font/doinst.sh')
-rw-r--r--system/adobe-source-serif-pro-font/doinst.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/system/adobe-source-serif-pro-font/doinst.sh b/system/adobe-source-serif-pro-font/doinst.sh
new file mode 100644
index 0000000000..011ed452ee
--- /dev/null
+++ b/system/adobe-source-serif-pro-font/doinst.sh
@@ -0,0 +1,8 @@
+# Update the X font indexes:
+if [ -x /usr/bin/mkfontdir ]; then
+ /usr/bin/mkfontscale /usr/share/fonts/OTF
+ /usr/bin/mkfontdir /usr/share/fonts/OTF
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi