[pacman-dev] [PATCH v3] makepkg-template: support multiple --template-dirs

Florian Pritz bluewind at xinu.at
Fri Apr 24 11:30:05 UTC 2015

On 23.04.2015 16:41, Dominik Fischer wrote:
> Especially when maintaining local templates in addition to the ones
> stored in /usr/share/makepkg-template, it can be useful to include
> templates stored in multiple different locations into one PKGBUILD. This
> patch makes this possible by allowing --template-dir to be specified
> multiple times.
> This also introduces a dedicated error message when a template cannot be
> found, in contrast to the already existing "Couldn't detect version for
> template '%s'".
> If a template of the same name is present in more than one of the given
> directories, the last one always takes precedence.
> Neither the default behaviour without the option given, nor the handling
> of a single template dir is changed.
> Signed-off-by: Dominik Fischer <d.f.fischer at web.de>

Signed-off-by: Florian Pritz <bluewind at xinu.at>

Also pulled into my working branch for easy merging (already includes
the signoff).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/pacman-dev/attachments/20150424/17369cf4/attachment.asc>

More information about the pacman-dev mailing list