diff options
Diffstat (limited to 'source/a/pkgtools')
-rwxr-xr-x | source/a/pkgtools/pkgtools.SlackBuild | 2 | ||||
-rw-r--r-- | source/a/pkgtools/scripts/installpkg | 2 | ||||
-rw-r--r-- | source/a/pkgtools/scripts/upgradepkg | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/source/a/pkgtools/pkgtools.SlackBuild b/source/a/pkgtools/pkgtools.SlackBuild index 81f8e0a6..15e0fb1b 100755 --- a/source/a/pkgtools/pkgtools.SlackBuild +++ b/source/a/pkgtools/pkgtools.SlackBuild @@ -30,7 +30,7 @@ PKGNAM=pkgtools # *** UPDATE THESE WITH EACH BUILD: VERSION=15.0 ARCH=${ARCH:-noarch} -BUILD=${BUILD:-14} +BUILD=${BUILD:-15} # 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 diff --git a/source/a/pkgtools/scripts/installpkg b/source/a/pkgtools/scripts/installpkg index 453e391e..2b87bf36 100644 --- a/source/a/pkgtools/scripts/installpkg +++ b/source/a/pkgtools/scripts/installpkg @@ -182,7 +182,7 @@ package_name() { THREADS="$(nproc)" # Set default line length for terse mode: -if which tput 1> /dev/null 2> /dev/null ; then +if tty -s && which tput 1> /dev/null 2> /dev/null ; then TERSELENGTH=$(tput cols) else TERSELENGTH=80 diff --git a/source/a/pkgtools/scripts/upgradepkg b/source/a/pkgtools/scripts/upgradepkg index bb150483..1acae7d6 100644 --- a/source/a/pkgtools/scripts/upgradepkg +++ b/source/a/pkgtools/scripts/upgradepkg @@ -119,7 +119,7 @@ if [ ! -d $INSTLOCKDIR ]; then fi # Set default line length for terse mode: -if which tput 1> /dev/null 2> /dev/null ; then +if tty -s && which tput 1> /dev/null 2> /dev/null ; then TERSELENGTH=$(tput cols) else TERSELENGTH=80 |