diff options
Diffstat (limited to 'source/x/x11/doinst.sh/font-bh-type1')
-rw-r--r-- | source/x/x11/doinst.sh/font-bh-type1 | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/source/x/x11/doinst.sh/font-bh-type1 b/source/x/x11/doinst.sh/font-bh-type1 index e3951269..0946b032 100644 --- a/source/x/x11/doinst.sh/font-bh-type1 +++ b/source/x/x11/doinst.sh/font-bh-type1 @@ -1,11 +1,9 @@ #!/bin/sh # Update the X font indexes: if [ -x /usr/bin/mkfontdir -o -x /usr/X11R6/bin/mkfontdir ]; then - ( cd /usr/share/fonts/Type1 - mkfontscale . - mkfontdir . - ) + mkfontscale usr/share/fonts/Type1 2> /dev/null + mkfontdir usr/share/fonts/Type1 2> /dev/null fi if [ -x /usr/bin/fc-cache ]; then - /usr/bin/fc-cache -f + /usr/bin/fc-cache -f 2> /dev/null fi |