summaryrefslogtreecommitdiffstats
path: root/system/rewise
diff options
context:
space:
mode:
author Andrew Clemons2023-07-04 15:10:55 +0200
committer Willy Sudiarto Raharjo2023-07-08 11:41:49 +0200
commit05dd35ba5ad7883342435d7b82ea3d5a21338281 (patch)
tree3c63a1b90a088f2904c83c7372c9ecfd3af597a0 /system/rewise
parent943ee5cf802b1dd480e34f4f3817972eb580f50d (diff)
downloadslackbuilds-05dd35ba5ad7883342435d7b82ea3d5a21338281.tar.gz
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>
Diffstat (limited to 'system/rewise')
-rw-r--r--system/rewise/rewise.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/rewise/rewise.SlackBuild b/system/rewise/rewise.SlackBuild
index 9276d641bd..abf2e02d5d 100644
--- a/system/rewise/rewise.SlackBuild
+++ b/system/rewise/rewise.SlackBuild
@@ -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 .