diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2022-03-13 19:34:46 +1300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-18 00:26:10 +0700 |
commit | edd814d55832b0b2c8774b0c78e427dffb94d937 (patch) | |
tree | aa17b48e942bcd7a9d352b96ee0fbb477a1a3f3b /audio/TiMidity++ | |
parent | eeb0ad950c138aa0ab1af3250b55535ae4f8a8e5 (diff) |
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/TiMidity++')
-rw-r--r-- | audio/TiMidity++/TiMidity++.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/audio/TiMidity++/TiMidity++.SlackBuild b/audio/TiMidity++/TiMidity++.SlackBuild index 024d1df6f7853..ed54dc079ee21 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 . |