Subject: Re: Bug#397785: [debconf] Should warn if postinst doesn't understand argument "reconfigure"

From: Russ Allbery <[email-masked]>
Date: Thu, 09 Nov 2006 11:54:15 -0800

Frank Küster <[email-masked]> writes:

> Package: lintian
> Version: 1.5.8
> Severity: wishlist

> From debconf-devel(7):

> ,----
> | the right thing would be to pass $1 = "reconfigure", but doing so
> | without breaking all the postinsts that use debconf is difficult.  The
> | migration plan away from this hack is to encourage people to write
> | postinsts that accept "reconfigure", and once they all do, begin
> | passing that variable.
> `----

> To aid in that goal, it would be nice if lintian complained if
> reconfigure is not accepted.

Agreed, but I don't have any idea how to do that given that the tests in
postinst can be written as case statements or if statements and in many
different formats and syntaxes and simply missing the word "reconfigure"
doesn't mean that the postinst is wrong.

-- 
Russ Allbery ([email-masked])               <http://www.eyrie.org/~eagle/>