summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-03-13 19:34:46 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-18 00:26:10 +0700
commitedd814d55832b0b2c8774b0c78e427dffb94d937 (patch)
treeaa17b48e942bcd7a9d352b96ee0fbb477a1a3f3b /audio
parenteeb0ad950c138aa0ab1af3250b55535ae4f8a8e5 (diff)
downloadslackbuilds-edd814d55832b0b2c8774b0c78e427dffb94d937.tar.gz
audio/TiMidity++: Handle content-disposition download.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r--audio/TiMidity++/TiMidity++.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/audio/TiMidity++/TiMidity++.SlackBuild b/audio/TiMidity++/TiMidity++.SlackBuild
index 024d1df6f7..ed54dc079e 100644
--- a/audio/TiMidity++/TiMidity++.SlackBuild
+++ b/audio/TiMidity++/TiMidity++.SlackBuild
@@ -91,7 +91,11 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+TARBALL=$CWD/$PRGNAM-$VERSION.tar.xz
+if [ ! -e $TARBALL ]; then
+ TARBALL=$CWD/TiMidity%2B%2B-$VERSION.tar.xz
+fi
+tar xvf $TARBALL
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go-w,a+rX-st .