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

Bug#72153: tetex-bin should use debconf



On Fri, Sep 22, 2000 at 03:42:25PM +0900 , Atsuhito Kohda wrote:
> I first simply thought that Michael did not know the mechanism of
> conffiles but I think over a bit and come to wonder that it might
> be better if we stop to define texmf.cnf as 'conffiles' and treat
> its upgrade with debconf.
> 
> Is it possible and how do you think about this?

It is possible, but can get messy. Look at imp/horde for an example.
The problem is, that you must either use only debconf (or your tool) to edit
texmf.cnf and check when you last edited, so if admin changes something, that
you won't errase there changes on another configure. The second approach
is using templates (texmf.cnf.in) to which the admin can make changes and
it gets later coppied over texmf.cnf with the debconf values replaced.

Both these are ugly (IMHO). If anyone has a better solution, I'd like to hear
it for using in my packages.

				Petr Cech
-- 
Debian GNU/Linux maintainer - www.debian.{org,cz}
           cech@atrey.karlin.mff.cuni.cz

<_Anarchy_> telsa: rommable debian will be potato chips



Reply to: