On Tue 2017-03-21 21:11:43 -0400, Clint Adams wrote: > On Sun, Apr 24, 2016 at 02:20:50PM -0400, Daniel Kahn Gillmor wrote: >> Currently, if a package drops a config file, the package maintainer >> has to invoke: >> >> dpkg-maintscript-helper rm_conffile $CONFFILE $PRIOR_VERSION $PKGNAME -- >> "$@" >> >> in the package's prinst, postinst, and postrm maintainer scripts. >> >> Instead, dpkg should be aware of the dropped config file and handle it >> automatically. > > Are you suggesting that dpkg would diff the prior .conffiles with the in-.deb > control file, and perform the equivalent of dpkg-maintscript-helper > rm_conffile > on each line that is deleted, and then make `dpkg-maintscript-helper > rm_conffile` > a no-op?
That sounds like a reasonable approach to me. Thanks for the suggestion! --dkg