[Slackbuilds-users] Patch for giblib.SlackBuild

Ruben Schuller ruben at orgizm.net
Fri Jun 27 12:16:42 UTC 2014


Hi,

2014-06-26 23:06 David Spencer <baildon.research at googlemail.com>:

> By the way, to download with the right filename from the command line,
> you can use --content-disposition on the wget command line, or set the
> default for wget using 'content_disposition=on' in ~/.wgetrc or
> /etc/wgetrc (recommended for sbopkg users), or curl -J
> 
> I think the following are affected:
> 
> [...]
> multimedia/cantata
> [...]

I maintain the cantata slackbuild, and just tested that with the
download link of cantata displayed on slackbuilds.org:

wget --content-disposition
"https://drive.google.com/uc?export=download&id=0Bzghs6gQWi60WTYtaXk3c1IzNVU" 

Now the downloaded file is named
"cantata-1.3.4.tar.bz2cantata-1.3.4.tar.bz2"

"Content-Disposition".. As if URLs with the real filenames wouldn't
work as good :/

The cantata slackbuild checks for both names, the good one
"cantata-1.3.4.tar.bz2" and the ugly one that wget downloads and
extracts the one it finds.

Bye,
Ruben











More information about the SlackBuilds-users mailing list