On 2012-05-21 15:19, Santiago Vila wrote:
> But checking md5sums should be dpkg job, that's precisely what the
> conffile mechanism is for. 

But dpkg does not know about the old files (because they were not
conffiles), so it can't to the job.

ucf might be able to cope with this, but I wouldn't use it for an
essential package.

> If the job of dpkg has to be duplicated in
> preinst and postinst, there is something fundamentally wrong here.

dpkg-maintscript-helper might be a better target for an enhancement:
let's add a 'config_file_to_conffile' subcommand ...


Andreas



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to