mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-18 07:15:00 -05:00
b0ae59724e
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@web.de> Signed-off-by: Florian Pritz <bluewind@xinu.at> Signed-off-by: Allan McRae <allan@archlinux.org> |
||
---|---|---|
.. | ||
compose-multiple-template-dirs | ||
invalid-key | ||
invalid-template-line-missing-name | ||
invalid-template-line-unknown-marker | ||
keep-old-version | ||
last-template-dir-has-precedece | ||
missing-template-file | ||
missing-template-symlink | ||
name-charset-invalid | ||
name-charset-valid | ||
template-without-version | ||
update-version-with-newest-option | ||
testcase-config-template |