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

Re: lintian support in dinstall



On Fri, Oct 08, 1999 at 01:13:55AM +0200, Remco Blaakmeer wrote:
> > > ...that's optional debconf support. The duplicate-..-calls are separated
> > > by an if `debconf exists'; then ... else ... fi.
> > Ok, next question: any reason these shouldn't be lintian warnings,
> > rather than lintian errors?
> This seems to me like a case of lintian misinterpreting a shell script. 
> I'd think this is either a bug in lintian or a case that calls for an
> override.

I don't really think it's either. config's and templates aren't yet endorsed
by policy and therefore are still reserved for future use. debconf may not
turn out to be as useful as we all hope, and we may still ditch it, after
all. I can't see this happening, so I'm not worried about the errors.

wrt update-rc.d, I could simply change my postinst to have the update-rc.d
calls outside the if/else/fi. I'm only not bothering because I suspect
in a couple of months I'll be able to just get rid of the else part and
require debconf support.

I don't have a problem with rejecting on specific errors, such as `copyright
file not found', or `binary in /etc' or whatever, mind.

Cheers,
aj

-- 
Anthony Towns <aj@humbug.org.au> <http://azure.humbug.org.au/~aj/>
I don't speak for anyone save myself. PGP encrypted mail preferred.

 ``The thing is: trying to be too generic is EVIL. It's stupid, it 
        results in slower code, and it results in more bugs.''
                                        -- Linus Torvalds

Attachment: pgpfO0YA_efJV.pgp
Description: PGP signature


Reply to: