(oh, hey, look at that, someone drawing my attention back to this thread that I meant to follow up to.)
On Mon, Feb 25, 2008 at 10:43:55AM -0800, Russ Allbery wrote: > Josselin Mouette <[EMAIL PROTECTED]> writes: > > On lun, 2008-02-25 at 10:23 -0800, Russ Allbery wrote: > >> ucf, from its DESCRIPTION in its man page, seems to handle the case of > >> shipping a configuration file upstream that may also be locally > >> modified, but I don't see where it handles merging in the results of > >> debconf prompting. Am I just missing something? > > ucf can easily be fed with the debconf-generated file. When told to with > > the proper option, it will even do a three-way merge of the proposed > > (maintainer + debconf) changes to the locally modified file. > Oh! Okay, that was the piece that I was missing. That's a better > solution than what I have now. > Thanks, I'll try to find time to look at this in the not-too-distant > future. I humbly offer up samba-common in unstable as an example of a package that DTRT with ucf to manage a config file. I wish the three-way merge support in ucf was better, but for all that, the status quo is still pretty darn slick. :) -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer http://www.debian.org/ [EMAIL PROTECTED] [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]