Re: 2 packages using same conffile
>>>>> On Sun, 5 Jul 1998 07:31:30 +0000, Joseph Carter <knghtbrd@earthlink.net> said:
Joseph> [1 <text/plain; us-ascii (7bit)>] What does one do in a
Joseph> situation where two packages both provide the same conffile?
Joseph> Currently they use different names for the file, but both
Joseph> packages can (and probably should) use the same file. How
Joseph> should this be handled, both from a policy and from an
Joseph> implementation standpoint?
Joseph> I could create the file in postinst if it doesn't exist, but
Joseph> this seems like a Bad Idea<tm> for many reasons. Is there
Joseph> really no Right Way to do this except to leave them as two
Joseph> seperate files and have the user deal with it however they
Joseph> will? [2 <application/pgp-signature>]
It's kind of ugly, but you could have a package irc-common with that
file in it. (Are there other things that irc clients can share?
scripts?)
Then it can be treated as a conffile, but neither package owns it.
They just depend on irc-common.
Dres
--
@James LewisMoss <dres@dimensional.com> | Blessed Be!
@ http://www.dimensional.com/~dres | Linux is kewl!
@"Argue for your limitations and sure enough, they're yours." Bach
--
To UNSUBSCRIBE, email to debian-mentors-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: