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

Re: Ideas wrt debconf templates checks

On Sat, 2008-07-05 at 15:01 -0700, Russ Allbery wrote:
> "Adam D. Barratt" <adam@adam-barratt.org.uk> writes:
> > On Sat, 2008-07-05 at 17:02 +0100, Adam D. Barratt wrote:
> >> This should of course just be
> >> for each of config, postinst
> > Hrm, or should it? The current lintian debconf checks only check config
> > and postinst, but checking the other maintainer scripts seems reasonable
> > in this case (libc6 uses a template in preinst, for instance).
> They should indeed all be checked.  Some packages use prerm and postrm
> templates as well.

I'd included support for all of the maintainer scripts in my patch;
sorry for not mentioning that. (It was easier to include it and later
remove it if needed).

Looking through the current checks, the patch could probably be safely
reduced by simply running the main checks against all of the maintainer
scripts, rather than just config and postinst; there are a couple of
checks which are specific to individual scripts, but the majority of
them are issues whichever script they occur in.


Reply to: