diff options
author | B. Watson <yalhcru@gmail.com> | 2018-01-08 20:23:58 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-01-10 23:55:54 +0700 |
commit | ce4d126849b74c15466b3126375764095d2a7600 (patch) | |
tree | 2198cf0f7b3fa4166bfe6d80d2c70f6b1fb7f6da /system/oldschool-pc-fonts/doinst.sh | |
parent | 1813538d9ef6dec531327313d784cac86bc61d0e (diff) |
system/oldschool-pc-fonts: New maintainer, optional console fonts.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'system/oldschool-pc-fonts/doinst.sh')
-rw-r--r-- | system/oldschool-pc-fonts/doinst.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/system/oldschool-pc-fonts/doinst.sh b/system/oldschool-pc-fonts/doinst.sh index 883c47ac0a60c..251ce03afbee5 100644 --- a/system/oldschool-pc-fonts/doinst.sh +++ b/system/oldschool-pc-fonts/doinst.sh @@ -1,8 +1,8 @@ # Update the X font indexes: -if [ -x /usr/bin/mkfontdir ]; then - ( cd /usr/share/fonts/TTF - mkfontscale . - mkfontdir . +if [ -x /usr/bin/mkfontdir -a -x /usr/bin/mkfontscale ]; then + ( cd usr/share/fonts/TTF + /usr/bin/mkfontscale . + /usr/bin/mkfontdir . ) fi if [ -x /usr/bin/fc-cache ]; then |