On Mon, Jul 23, 2001 at 06:48:35PM -0400, Richard A Nelson wrote: > > What about debhelper V3 ? Isn't every file in /etc/ is marked as a conffile? good idea. > I've resorted to not shipping some files in /etc/ - and build/update them > *ONLY* via an exec to get around this... probably will do more similiarly - > but it wasn't a trivial exercise. Would've been nice to ship an example, > and an exec that updated the file based upon debconf, user questions, etc. huh? if you ship a file in /etc/ *in the package* but do NOT mark it as a conffile it will be silently overwritten on every package upgrade by whatever is shipped in the package. admin changes and even changes made by your config program/debconf/whatever will be blown away. if you touch the config file in any way whatsoever you must NOT ship it in the package at all, conffile or otherwise. so debhelper is correct in marking every file installed in /etc as a conffile, debhelper can't know about a file your don't ship in the package but rather generate from scratch in the postinst. -- Ethan Benson http://www.alaska.net/~erbenson/
Attachment:
pgpdb9wDyrckB.pgp
Description: PGP signature