[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: scheme48 watch file



Am Montag, den 26.11.2007, 10:31 -0500 schrieb Eric Cooper:
> On Mon, Nov 26, 2007 at 08:30:56PM +1100, Trent W. Buck wrote:
> > ...I haven't been able to work out how to do this, because
> > http://s48.org/ has a link to 1.7/download.html instead of to 1.7/
> 
> Here's a version that works, using the downloadurlmangle option:
> 
>   version=3
>   opts=downloadurlmangle=s{s48.org/(.*)/download.html}{s48.org/$1/scheme-$1.tgz} \
>   http://s48.org/index.html  (.*)/download.html
> 
> You could probably tighten up the "(.*)" regexps, but the idea is to
> use one pattern to detect the version, and then munge that URL to get
> to the actual tarball.

This will download the tarball but name it "download.html". You further
need a filenamemangle bsides the downloadurlmangle.

Regards, Daniel



Reply to: