system/rewise: Support content-disposition downloads.

If you download the file with a browser, you will get a file
with the name REWise-v0.1.0.tar.gz.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrew Clemons 2023-07-04 22:10:55 +09:00 committed by Willy Sudiarto Raharjo
parent 943ee5cf80
commit 05dd35ba5a
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -66,7 +66,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/v$VERSION.tar.gz
tar xvf $CWD/v$VERSION.tar.gz || tar xvf $CWD/REWise-v$VERSION.tar.gz
cd $PRGNAM
chown -R root:root .