diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2015-09-04 23:04:30 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-09-05 06:25:16 +0700 |
commit | a230fb8b3aa72715d5db7c630f303da74f9ea839 (patch) | |
tree | 52b2b86297c55398196b0a227ba99bf568924d5d /system/ttf-roboto/doinst.sh | |
parent | ce85bca85d92d5a080fe6ce9fcb3b8af327e1248 (diff) |
system/ttf-roboto: Added (True Type Font).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/ttf-roboto/doinst.sh')
-rw-r--r-- | system/ttf-roboto/doinst.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/system/ttf-roboto/doinst.sh b/system/ttf-roboto/doinst.sh new file mode 100644 index 0000000000000..8fec9f5340068 --- /dev/null +++ b/system/ttf-roboto/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 |