summaryrefslogtreecommitdiff
path: root/source/xap/x3270
diff options
context:
space:
mode:
Diffstat (limited to 'source/xap/x3270')
-rw-r--r--source/xap/x3270/doinst.sh8
-rwxr-xr-xsource/xap/x3270/x3270.SlackBuild2
2 files changed, 4 insertions, 6 deletions
diff --git a/source/xap/x3270/doinst.sh b/source/xap/x3270/doinst.sh
index 049c91e4..37379ca3 100644
--- a/source/xap/x3270/doinst.sh
+++ b/source/xap/x3270/doinst.sh
@@ -14,11 +14,9 @@ config etc/X11/x3270/ibm_hosts.new
# Update the X font indexes:
if [ -x /usr/bin/mkfontdir -o -x /usr/X11R6/bin/mkfontdir ]; then
- ( cd /usr/share/fonts/misc
- mkfontscale .
- mkfontdir -e /usr/share/fonts/encodings -e /usr/share/fonts/encodings/large .
- )
+ mkfontscale usr/share/fonts/misc 2> /dev/null
+ mkfontdir -e /usr/share/fonts/encodings -e /usr/share/fonts/encodings/large usr/share/fonts/misc 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/xap/x3270/x3270.SlackBuild b/source/xap/x3270/x3270.SlackBuild
index eba6f715..1e437eb7 100755
--- a/source/xap/x3270/x3270.SlackBuild
+++ b/source/xap/x3270/x3270.SlackBuild
@@ -26,7 +26,7 @@ PKGNAM=x3270
VERSION=3.3
TARBVER=${TARBVER:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
VERSION=$(echo $TARBVER | cut -f 1,2 -d .)
-BUILD=${BUILD:-4}
+BUILD=${BUILD:-5}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then