aboutsummaryrefslogtreecommitdiff
path: root/games/pychess
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2022-11-07 18:19:46 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-11-12 22:33:10 +0700
commit8a3d26d4ccc9454f5f9c8ff1561b1ce3f3e4ca8c (patch)
tree6ad651e043767ecd7b27f9cdb08b044b6e30b625 /games/pychess
parent2fc2336f3c33cf11bb8aafc667acf3ee43912480 (diff)
games/pychess: Fixed script.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/pychess')
-rw-r--r--games/pychess/pychess.SlackBuild4
1 files 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 . \