Re: diversions and conffiles?
On Wed, 20 Feb 2008, Max Bowsher wrote:
> Is it valid to try to divert a conffile?
No. It's known to be unsafe.
> If not, are there any other tricks that can be used to distribute a set
> of conffile customizations in a package?
It depends, adapt the package so that it can obtain configuration from
multiple files (like /etc/apt/apt.conf.d/) and have the new package
provide some files in that directory.
If that doesn't work, then you have to manually replace/generate
the configuration file but you're not allowed to do it automatically,
you should at least ask the user a confirmation with debconf.
Le best-seller français mis à jour pour Debian Etch :