diff options
author | Fernando Lopez Jr <fernando.lopezjr@gmail.com> | 2017-09-08 16:54:45 +0100 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-09-08 17:36:59 +0100 |
commit | 49bf6be3c4e48344a6ae679ea59b5fd39e951ad4 (patch) | |
tree | a9486a6b08ae672f9841b959b30db10cbc16ca0b /system/google-fonts/doinst.sh | |
parent | d6b4b7ce1c72ffd1b8fee655a0b6676ff0a04efd (diff) | |
download | slackbuilds-49bf6be3c4e48344a6ae679ea59b5fd39e951ad4.tar.gz |
system/google-fonts: Added (complete collection from Google Fonts).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/google-fonts/doinst.sh')
-rw-r--r-- | system/google-fonts/doinst.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/system/google-fonts/doinst.sh b/system/google-fonts/doinst.sh new file mode 100644 index 0000000000..26221059a3 --- /dev/null +++ b/system/google-fonts/doinst.sh @@ -0,0 +1,11 @@ +# Update the X font indexes: +if [ -x /usr/bin/mkfontdir -o -x /usr/X11R6/bin/mkfontdir ]; then + ( cd /usr/share/fonts/TTF + mkfontscale . + mkfontdir . + ) +fi +if [ -x /usr/bin/fc-cache ]; then + /usr/bin/fc-cache -f +fi + |