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

Bug#233116: lintian: check that templates are separated by an empty line



On Tue, Feb 17, 2004 at 12:19:55AM +0100, Denis Barbier wrote:
> Package: lintian
> Version: 1.22.10
> Severity: wishlist
> Tags: patch
> 
> Hi,
> 
> if the templates file contains templates which are not separated by an
> empty line (e.g because this line has a spurious space, or because it
> is missing), read_dpkg_control() will return garbage and further checks
> will display error messages which are not related to the problem.
> Moreover debconf will refuse to load this broken file.

I thought about adding your check. But I wonder if your assumption
that the Template field is always first in a stanza? The Debconf
specification does not enforce this. But perhaps this is true
none-the-less. As you have seen a lot more templates than me, what's
your opinion? ;)

Gruesse,
-- 
Frank Lichtenheld <djpig@debian.org>
www: http://www.djpig.de/



Reply to: