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

Re: 2 packages sharing the same config file.



On Wed, May 23, 2001 at 02:49:03PM -0400, Joey Hess wrote:
> Eric Van Buggenhaut wrote:
> > >It's your package. One thing you could do when you start working on it is
> > >to remove the conflict between xabacus and xmabacus - there are better
> > >solutions in Debian when two packages share the same file.
> > >
> > >cu
> > >Adrian
> > 
> > I'm just looking for the 'better solutions' he mentions but still clueless. Any
> > hint ?
> 
> One possibility would be to not use a conffile, but generate the
> conffile in your postinst if it does not exist. This still leaves open
> the question about how you figure out it's safe to remove the conffile.
> The packages would each have to remove it on purge iff the other package
> was already purged.

It seems the best solution indeed. Is there a way to know if a package has been purged ? dpkg --test-purge ?

-- 
Eric VAN BUGGENHAUT

Eric.VanBuggenhaut@AdValvas.be



Reply to: