On Tue, 15 Jun 2010 07:59:42 +0200, Raphael Hertzog <[email protected]> wrote: > On Mon, 14 Jun 2010, Christian Kastner wrote: >> According to dpkg-maintscript-helper(1), the current implementation of >> rm_conffile preserves locally modified conffiles by renaming them to >> <conffile>.dpkg-bak. >> >> This does not work in certain cases where the (modified) conffile should >> continue to be used. > > The theory is precisely that the modified obsolete conffile should not > continue to be used... it's up to the user to grab whatever he requires. > We're keeping the file around precisely so that he can retrieve his > changes and put them in a new more appropriate place. > > And nothing forbids you to put the snippet and to rename the file once > more in the postinst: > if [ -e <conffile>.dpkg-bak ]; then > mv <conffile>.dpkg-bak <conffile>-obsolete-please-verify-and-remove > fi
Ah, yes. I don't know why I didn't think of this; I guess I was complicating this too much. > I will probably close this bug in some time if the discussion doesn't > bring forward any new argument. Please close it. Thanks, Christian -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

