Re: scheme48 watch file
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.
--
Eric Cooper e c c @ c m u . e d u
Reply to: