J?r?me Marant wrote:
> I have a package using debconf. This package is restarting a daemon
> in its postinst after generating configuration scripts.
>
> When I run dpkg-reconfigure, I would like to regenerate configuration
> scripts and restart the daemon.
> Am I allow to do this in a config script ("reconfigure" section) ?
Your postinst will also be called when you reconfigure. In general a
well-designed package should automatically reconfigure when using
debconf; it's really no different than forcing a reinstall of the
package.
--
see shy jo
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]