From 8a3d26d4ccc9454f5f9c8ff1561b1ce3f3e4ca8c Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Mon, 7 Nov 2022 18:19:46 +0200 Subject: games/pychess: Fixed script. Signed-off-by: Dimitris Zlatanidis Signed-off-by: Willy Sudiarto Raharjo --- games/pychess/pychess.SlackBuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/games/pychess/pychess.SlackBuild b/games/pychess/pychess.SlackBuild index 422e23743acd..8cbf97624a1e 100644 --- a/games/pychess/pychess.SlackBuild +++ b/games/pychess/pychess.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pychess SRCNAM=PyChess VERSION=${VERSION:-1.0.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -71,7 +71,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION chown -R root:root . find -L . \ -- cgit v1.2.3