Bug#215549: Why should the postinst care if it is being confiugured or reconfigured?

2009-07-03 Thread Steve Langasek
On Thu, Jul 02, 2009 at 11:20:19AM -0700, Russ Allbery wrote: > > The question is, why should we change something so deeply > > deployed as package postinst API without compelling reasons that the > > postinst should treat an upgrade differently from a reconfigure, > > especially since t

Bug#215549: Why should the postinst care if it is being confiugured or reconfigured?

2009-07-02 Thread Goswin von Brederlow
sean finney writes: > On Thu, Jul 02, 2009 at 09:44:50AM -0500, Manoj Srivastava wrote: >> The question is, why should we change something so deeply >> deployed as package postinst API without compelling reasons that the >> postinst should treat an upgrade differently from a reconfigure

Bug#215549: Why should the postinst care if it is being confiugured or reconfigured?

2009-07-02 Thread sean finney
On Thu, Jul 02, 2009 at 09:44:50AM -0500, Manoj Srivastava wrote: > The question is, why should we change something so deeply > deployed as package postinst API without compelling reasons that the > postinst should treat an upgrade differently from a reconfigure, > especially since the u

Bug#215549: Why should the postinst care if it is being confiugured or reconfigured?

2009-07-02 Thread Russ Allbery
Manoj Srivastava writes: > The question is, why should we change something so deeply > deployed as package postinst API without compelling reasons that the > postinst should treat an upgrade differently from a reconfigure, > especially since the user interaction part is already correct

Bug#215549: Why should the postinst care if it is being confiugured or reconfigured?

2009-07-02 Thread Manoj Srivastava
Hi, A postinst may be called with the following arguments: * `configure' There are three sub-cases: 1) there is no second argument -- ancient dpkg, not relevant these days 2) the second argument is "" or "", fresh install. 3) The second argument is t