Andreas Metzler <[EMAIL PROTECTED]> schrieb: > On Wed, Nov 05, 2003 at 03:03:24PM +0100, Frank K�ster wrote: >> if a package wants to use debconf to manage a configuration file, but >> still let the user have the option to manually add entries - is there a >> preferred way how to do this? > > Parse the file and only change the debconf-managed options, the > debconf-devel manpage has an example. Which can be difficult. > > [...] >> Put the information from the debconf database into the file, but between >> markers ### begin DEBCONF section for $package... ### end DEBCONF >> section for $package. So an admin can add his customization before or >> after that, and upon dpkg-reconfigure or an upgrade only the part >> between the markers will be changed. > >> Is this concept o.k.? I couldn't find anything in the policy about that. > > I think it is lot better than > "May I overwrite any manual changes to the file?" <Yes> <No> > but it tends not to work to well, because users tend to miss the fat > README. Which is why XFree86 recently dumped this approach.
Thank you. In the meantime, I've found a discussion on debian-devel (unix configuration nightmare) which clarified a lot. I also found ucf there, will have a look at it. Bye, Frank -- Frank K�ster, Biozentrum der Univ. Basel Abt. Biophysikalische Chemie -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]