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

Re: Need some help with watch files again



On Wed, Jun 06, 2007 at 01:24:11AM +0200, Daniel Leidert wrote:
> Hi,
> 
> I'm again stuck with a debian/watch file. In this special case I try to
> write watch files for garlic and garlic-doc. The sources can be found
> at:
> 
> http://garlic.mefos.hr/sources/
> 
> So I tried the following:
> 
> version=3
> http://garlic.mefos.hr/sources/garlic-([\d\.]+)/garlic-([\d\.]+).tar.gz
I don't know if there's a better way:

|version=3
|opts=downloadurlmangle=s:\./([^/]+)$:$1/$1.tar.gz:      \
|  http://garlic.mefos.hr/sources/                       \
|  ./garlic-([\d.]+)

Justin



Reply to: