diff options
author | 2016-09-24 02:03:04 +0200 | |
---|---|---|
committer | 2016-09-24 02:03:04 +0200 | |
commit | 4b3fc19850960b951dbdcd946588605d7954eef0 (patch) | |
tree | ff30b12aa5255faf6c89b6d5458dd6b837a1ba92 /system/ttf-paratype-pt-fonts/doinst.sh | |
parent | 3bee876ca0ad65682c521172060599674628c210 (diff) | |
download | slackbuilds-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.sh | 10 |
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 |