Re: dpkg-reconfigure and postinst

2006-07-05 Thread Domenico Andreoli
On Wed, Jul 05, 2006 at 02:35:44AM -0500, Gerfried Fuchs wrote: > Hi! hi, > I am having a problem, and I guess I might not be the only one who > might stumble into it. When one wants to do something in new installs > of the package, they usually check for $2 != "" in the postinst and pu

Re: dpkg-reconfigure and postinst

2006-07-05 Thread sean finney
On Wed, Jul 05, 2006 at 02:35:44AM -0500, Gerfried Fuchs wrote: > Is my analysis flawed? Is there a way to differentiate between a > reconfigure and a reinstall that I didn't see? Is there a cleaner > approach to this problem than dynamically generating the postinst? take a look at $1 as passed

dpkg-reconfigure and postinst

2006-07-05 Thread Gerfried Fuchs
Hi! I am having a problem, and I guess I might not be the only one who might stumble into it. When one wants to do something in new installs of the package, they usually check for $2 != "" in the postinst and put the stuff in there. So far, so good, and policy friendly because you might