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
I will probably close this bug in some time if the discussion doesn't
bring forward any new argument.
Cheers,
--
Raphaƫl Hertzog
Like what I do? Sponsor me: http://ouaza.com/wp/2010/01/05/5-years-of-freexian/
My Debian goals: http://ouaza.com/wp/2010/01/09/debian-related-goals-for-2010/
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]