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

Re: dpkg-reconfigure, policy, and least surprise principle

>   On the one hand, I am not allowed to change sourceforge.conf on
> upgrade, and on the other hand the user expects a dpkg-reconfigure to
> really reconfigure his system.  Yet both operations do the same thing
> (invoke postinst).  What to do?

Doesn't dpkg-reconfigure pass a `reconfigure' argument to the config
script? You could use that to determine if it's an upgrade a fresh
install or reconfiguring, and if it's the latter, then do touch the
configuration files.

Attachment: pgpjuLrHTofo1.pgp
Description: PGP signature

Reply to: