diff options
Diffstat (limited to 'source/n/openssh/openssh.SlackBuild')
-rwxr-xr-x | source/n/openssh/openssh.SlackBuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/n/openssh/openssh.SlackBuild b/source/n/openssh/openssh.SlackBuild index bd12e278f..9a093e2df 100755 --- a/source/n/openssh/openssh.SlackBuild +++ b/source/n/openssh/openssh.SlackBuild @@ -29,7 +29,7 @@ TMP=${TMP:-/tmp} PKG=$TMP/package-openssh PKGNAM=openssh -VERSION=${VERSION:-$(echo openssh-*.tar.gz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +VERSION=${VERSION:-$(echo openssh-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} @@ -73,7 +73,7 @@ mkdir -p $PKG # Prepare the framework and extract the package: cd $TMP rm -rf $PKG openssh-$VERSION -tar xvf $CWD/openssh-$VERSION.tar.gz || tar xvf $CWD/openssh-$VERSION.tar.?z* || exit 1 +tar xvf $CWD/openssh-$VERSION.tar.?z || tar xvf $CWD/openssh-$VERSION.tar.bz2 || exit 1 cd openssh-$VERSION || exit 1 chown -R root:root . |