summaryrefslogtreecommitdiffstats
path: root/system/ttf-paratype-pt-fonts/doinst.sh
diff options
context:
space:
mode:
author Alexander Verbovetsky2016-09-24 02:03:04 +0200
committer Willy Sudiarto Raharjo2016-09-24 02:03:04 +0200
commit4b3fc19850960b951dbdcd946588605d7954eef0 (patch)
treeff30b12aa5255faf6c89b6d5458dd6b837a1ba92 /system/ttf-paratype-pt-fonts/doinst.sh
parent3bee876ca0ad65682c521172060599674628c210 (diff)
downloadslackbuilds-4b3fc19850960b951dbdcd946588605d7954eef0.tar.gz
system/ttf-paratype-pt-fonts: Added (Public Type (PT) fonts).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/ttf-paratype-pt-fonts/doinst.sh')
-rw-r--r--system/ttf-paratype-pt-fonts/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/ttf-paratype-pt-fonts/doinst.sh b/system/ttf-paratype-pt-fonts/doinst.sh
new file mode 100644
index 0000000000..883c47ac0a
--- /dev/null
+++ b/system/ttf-paratype-pt-fonts/doinst.sh
@@ -0,0 +1,10 @@
+# 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