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

Re: converted config file ?

On Sat, Dec 05, 1998 at 03:17:35PM +0100, Christian Hammers wrote:
> Hi !
> I have a problem with my wwwoffle package:
> it has a config file /etc/wwwoffle.conf.
> When installing I try to convert existing config files with a shipped 
> config file converter and only if that fails because it is the first
> install of wwwoffle, I copy the example conf file from the /usr/doc.
> The problem is now, that I have mark the /etc/wwwoffle.conf as "configfile"
> in the ...../debian/conffiles file. But when building, dpkg complains that
> the named conffile is not there, what is quit right, since while shipping, 
> the file isn't in /etc, but in /usr/doc...
> What should I do now ? 
> simply let dpkg handle the overwriting/not-installing of the config file
> and mark the file in debian/conffiles
> or
> did not mark it in debian/conffiles and let postinst handle the file.
> Both will earn me some bug reports :-)
> read you,
>    -christian-

Why not chew up a few more bytes and put the base conffile in /usr/doc and
/etc inside the package?  This would solve your problem (and the space should
be insignificant if it is just a small conffile).



REALITY.SYS corrupted: Reboot universe? (Y/N/Q)   ....Debian GNU/Linux
Reply with subject 'request key' for PGP public key.  KeyID 0xA9E087D5

Reply to: