On 31.10.2013 22:12, Ido Rosen wrote:
> Okay, that leaves either Jerome's suggestion (if duplicate filenames are
> detected, treat them as mirrors and don't fail/abort as long as one of them
> works);

I'd go with that. Doesn't add any new syntax and can be created easily
enough like this:

source=("$pkgname-$pkgver.tar.gz"::{"http://foo.com/blub/","http://somewhere.com/"}"$pkgname-$pkgver.tar.gz";)

Should be as simple as looping of the sources array after a fail and
checking if there is another matching "filename::" element.

Care to submit a patch to pacman-dev?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to