On Fri, Jun 5, 2009 at 2:41 PM, Cody A.W. Somerville
<cody.somerville@canonical.com> wrote:
Hello,
Currently it is not possible to override the templates for a single package - its either you maintain a copy of what you need in config/templates or in another directory which you specify wit the LH_TEMPLATES option. To faciliate, for example, only customizing the syslinux template files I've created this patch which simplifies the logic in functions/templates.sh to if config/templates/${PACKAGE} exists then use that else if ${LH_TEMPLATES}/${PACKAGE} exists then use that else error out. Which not only does it allow for the extra flexability but it also makes the templates.sh file much easier to read/understand plus I was personally surprised it didn't already work like this.
templates.sh | 18 ++++--------------
1 file changed, 4 insertions(+), 14 deletions(-)