diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2022-11-07 18:19:46 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-11-12 22:33:10 +0700 |
commit | 8a3d26d4ccc9454f5f9c8ff1561b1ce3f3e4ca8c (patch) | |
tree | 6ad651e043767ecd7b27f9cdb08b044b6e30b625 | |
parent | 2fc2336f3c33cf11bb8aafc667acf3ee43912480 (diff) |
games/pychess: Fixed script.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | games/pychess/pychess.SlackBuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/games/pychess/pychess.SlackBuild b/games/pychess/pychess.SlackBuild index 422e23743acdd..8cbf97624a1e2 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 . \ |