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?