[Slackbuilds-users] Problem with SourceForge and wget

Nicolas Kovacs info at microlinux.fr
Wed Mar 30 14:17:27 UTC 2016


Le 30/03/2016 13:56, Christoph Willing a écrit :
> OK, now back to my earlier mention of the --no-content-disposition
> option - I had it the wrong way around, so for that url I have:
> 
>     wget --content-disposition
> http://downloads.sourceforge.net/project/gtkcdlabel/gtkcdlabel/1.15/gtkcdlabel-1.15.tar.bz2

I played around some more with it and found the following solution to be
working more reliably. I don't know why, though:

DOWNLOAD="http://downloads.sourceforge.net/$PRGNAM/${PRGNAM}_${VERSION}_src_all.tar.bz2"

rm -f ${PRGNAM}_${VERSION}_src_all.tar.bz2
curl -O -J -L $DOWNLOAD

Cheers,

Niki

-- 
Microlinux - Solutions informatiques durables
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : info at microlinux.fr
Tél. : 04 66 63 10 32


More information about the SlackBuilds-users mailing list