summaryrefslogtreecommitdiff
path: root/source/a
diff options
context:
space:
mode:
Diffstat (limited to 'source/a')
-rwxr-xr-xsource/a/less/less.SlackBuild2
-rw-r--r--source/a/less/lesspipe.sh3
2 files changed, 3 insertions, 2 deletions
diff --git a/source/a/less/less.SlackBuild b/source/a/less/less.SlackBuild
index 6db39b35..a534cf29 100755
--- a/source/a/less/less.SlackBuild
+++ b/source/a/less/less.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=less
VERSION=${VERSION:-$(echo less-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
diff --git a/source/a/less/lesspipe.sh b/source/a/less/lesspipe.sh
index 2f1ce2a5..b5d76d48 100644
--- a/source/a/less/lesspipe.sh
+++ b/source/a/less/lesspipe.sh
@@ -2,7 +2,7 @@
#
# Copyright 1997, 1998, 1999, 2000 Patrick Volkerding, Moorhead, MN, USA
# Copyright 2001, 2002 Slackware Linux, Inc, Concord, CA, USA
-# Copyright 2006, 2009, 2017 Patrick Volkerding, Sebeka, MN, USA
+# Copyright 2006, 2009, 2017, 2021 Patrick Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -33,6 +33,7 @@ lesspipe() {
*.tgz | *.tar.gz | *.tar.Z | *.tar.z | *.tar.bz2 | *.tbz ) tar tvvf "$1" 2>/dev/null ;;
*.tlz | *.tar.lz ) lzip -dc "$1" 2> /dev/null | tar tvvf - 2> /dev/null ;;
*.txz | *.tar.xz ) xz -dc "$1" 2> /dev/null | tar tvvf - 2> /dev/null ;;
+ *.tzst | *.tar.zst | *.tar.zstd ) tar tvvf "$1" 2> /dev/null ;;
*.zip) unzip -l "$1" 2>/dev/null ;;
*.rpm) rpm -qpvl "$1" 2>/dev/null ;;
*.rar) # check if rar is installed first