system/catatonit: Fix script.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Ivan Kovmir 2024-02-16 10:11:12 +01:00 committed by Willy Sudiarto Raharjo
parent a6b4b419c3
commit 46d187d078
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -26,7 +26,7 @@ cd "$(dirname "$0")" ; CWD=$(pwd)
PRGNAM=catatonit
VERSION=${VERSION:-0.2.0}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -64,7 +64,7 @@ rm -rf "$PKG"
mkdir -p "$TMP" "$PKG" "$OUTPUT"
cd "$TMP"
rm -rf "$PRGNAM-$VERSION"
tar xvf "$CWD/$PRGNAM-$VERSION.tar.gz"
tar xvf "$CWD/$PRGNAM-v$VERSION.tar.gz"
cd "$PRGNAM-$VERSION"
chown -R root:root .
chmod -R u+w,go+r-w,a-s .