From 28b3940fb5e24b42d429bff0374843aef7f5fc0e Mon Sep 17 00:00:00 2001 From: Dugan Chen Date: Sun, 16 Dec 2012 17:43:45 -0500 Subject: system/adobe-source-code-pro-font: Only install OTF fonts. Signed-off-by: dsomero --- system/adobe-source-code-pro-font/doinst.sh | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'system/adobe-source-code-pro-font/doinst.sh') diff --git a/system/adobe-source-code-pro-font/doinst.sh b/system/adobe-source-code-pro-font/doinst.sh index 74022896fe..07732c33c3 100644 --- a/system/adobe-source-code-pro-font/doinst.sh +++ b/system/adobe-source-code-pro-font/doinst.sh @@ -1,16 +1,8 @@ -# Update mkfontscale and mkfontdir: +# Update the X font indexes: if [ -x /usr/bin/mkfontdir ]; then - ( cd /usr/share/fonts/OTF - mkfontscale . - mkfontdir . - ) - ( cd /usr/share/fonts/TTF - mkfontscale . - mkfontdir . - ) + /usr/bin/mkfontscale /usr/share/fonts/OTF + /usr/bin/mkfontdir /usr/share/fonts/OTF fi - -# Update the X font indexes: if [ -x /usr/bin/fc-cache ]; then /usr/bin/fc-cache -f fi -- cgit v1.2.3-65-gdbad