diff options
author | Nishant Limbachia <nishant@mnspace.net> | 2017-06-19 16:36:32 +0100 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-06-19 16:36:32 +0100 |
commit | eb7ed6d88f846097f6fe30a788e5a3a6c33fbf27 (patch) | |
tree | da54c33d43998ac087bd9a0031f325d88486ac1f /system/overpass-webfonts/doinst.sh | |
parent | dd8a57c307b86feb515c2faaf584ce3c3cfe91d3 (diff) | |
download | slackbuilds-eb7ed6d88f846097f6fe30a788e5a3a6c33fbf27.tar.gz |
system/overpass-webfonts: Added (Open Source web fonts by RedHat).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/overpass-webfonts/doinst.sh')
-rw-r--r-- | system/overpass-webfonts/doinst.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/system/overpass-webfonts/doinst.sh b/system/overpass-webfonts/doinst.sh new file mode 100644 index 0000000000..8fec9f5340 --- /dev/null +++ b/system/overpass-webfonts/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 |