diff options
Diffstat (limited to 'source/x/dejavu-fonts-ttf/doinst.sh')
-rw-r--r-- | source/x/dejavu-fonts-ttf/doinst.sh | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/source/x/dejavu-fonts-ttf/doinst.sh b/source/x/dejavu-fonts-ttf/doinst.sh index bdb05018..2056d073 100644 --- a/source/x/dejavu-fonts-ttf/doinst.sh +++ b/source/x/dejavu-fonts-ttf/doinst.sh @@ -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/TTF - mkfontscale . - mkfontdir . - ) + mkfontscale usr/share/fonts/TTF 2> /dev/null + mkfontdir usr/share/fonts/TTF 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 |