diff options
Diffstat (limited to 'source/x/ttf-tlwg')
-rw-r--r-- | source/x/ttf-tlwg/doinst.sh | 8 | ||||
-rwxr-xr-x | source/x/ttf-tlwg/ttf-tlwg.SlackBuild | 2 |
2 files changed, 4 insertions, 6 deletions
diff --git a/source/x/ttf-tlwg/doinst.sh b/source/x/ttf-tlwg/doinst.sh index bdb050188..2056d0734 100644 --- a/source/x/ttf-tlwg/doinst.sh +++ b/source/x/ttf-tlwg/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 diff --git a/source/x/ttf-tlwg/ttf-tlwg.SlackBuild b/source/x/ttf-tlwg/ttf-tlwg.SlackBuild index e9c064227..962145d0b 100755 --- a/source/x/ttf-tlwg/ttf-tlwg.SlackBuild +++ b/source/x/ttf-tlwg/ttf-tlwg.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=ttf-tlwg VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} ARCH=noarch -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} # If the variable PRINT_PACKAGE_NAME is set, then this script will report what # the name of the created package would be, and then exit. This information |