diff options
author | Daniel LEVAI <leva@ecentrum.hu> | 2012-11-23 16:25:46 +0100 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-11-24 15:36:46 -0500 |
commit | 041ae4f64a1434f2d47776da68b4b4f01a9d83a8 (patch) | |
tree | 45b54ccc67723239f7e56a66bda677bcf86312a5 /system/adobe-source-sans-pro-font/doinst.sh | |
parent | 07d35caffd119f24ff73100da8e3eeec597529e3 (diff) | |
download | slackbuilds-041ae4f64a1434f2d47776da68b4b4f01a9d83a8.tar.gz |
system/adobe-source-sans-pro-font: Added (adobe-source sans font).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/adobe-source-sans-pro-font/doinst.sh')
-rw-r--r-- | system/adobe-source-sans-pro-font/doinst.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/system/adobe-source-sans-pro-font/doinst.sh b/system/adobe-source-sans-pro-font/doinst.sh new file mode 100644 index 0000000000..74022896fe --- /dev/null +++ b/system/adobe-source-sans-pro-font/doinst.sh @@ -0,0 +1,17 @@ +# Update mkfontscale and mkfontdir: +if [ -x /usr/bin/mkfontdir ]; then + ( cd /usr/share/fonts/OTF + mkfontscale . + mkfontdir . + ) + ( cd /usr/share/fonts/TTF + mkfontscale . + mkfontdir . + ) +fi + +# Update the X font indexes: +if [ -x /usr/bin/fc-cache ]; then + /usr/bin/fc-cache -f +fi + |