On Sat, 2010-08-21 at 12:07 -0500, Chris wrote:
> Greetings everyone,
>
> I am trying to set my debian/watch correctly. The upstream
> site allows you to download (wget for example) with something like:
>
> wget http://www.foo.com/ihave/files/here/foo.tar.gz
>
> However, the source code behind URL shows this:
> http://www.foo.com/ihave/files/here/foo.tar.gz?format=raw
>
> Simply having http://www.foo.com/ihave/files/here/foo-(.*)\.tar\.gz
> in the debian/watch files downloads an html file.
>
> Can someone please advise on the proper way to get a file with the
> ?format=raw
Something like:
opts=filenamemangle=s/\?format=raw$// \
http://www.foo.com/ihave/files/here/foo-(.*)\.tar\.gz\?format=raw
Ben.
--
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.
Attachment:
signature.asc
Description: This is a digitally signed message part