diff options
author | Edinaldo P. Silva | 2015-09-04 18:03:19 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo | 2015-09-05 01:25:15 +0200 |
commit | ce85bca85d92d5a080fe6ce9fcb3b8af327e1248 (patch) | |
tree | 6a16b78ca5d80b72721dfdd55483951ebe0bb0e2 /system/ttf-aller/doinst.sh | |
parent | e5317970a9aab811f0ca757aad7c9a4b13eebce3 (diff) | |
download | slackbuilds-ce85bca85d92d5a080fe6ce9fcb3b8af327e1248.tar.gz |
system/ttf-aller: Added (True Type Font).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/ttf-aller/doinst.sh')
-rw-r--r-- | system/ttf-aller/doinst.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/system/ttf-aller/doinst.sh b/system/ttf-aller/doinst.sh new file mode 100644 index 0000000000..8fec9f5340 --- /dev/null +++ b/system/ttf-aller/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 |