Bug#768939: startpar: obsolete conffiles /etc/init/startpar-bridge.conf

Ivan Shmakov ivan at siamics.net
Tue Nov 27 17:33:40 GMT 2018


>>>>> Dmitry Bogatov <KAction at debian.org> writes:

 >> /etc/init/startpar-bridge.conf aab4f8aed4d4803ba1f6d97f6b1152da
 >> obsolete

 >> Please use the dpkg-maintscript-helper support provided by
 >> dh_installdeb to remove these obsolete conffiles on upgrade.

 > I believe following patch would solve issue.  I published it at
 > https://salsa.debian.org/debian/startpar at branch `bug-768939'.
 > Opinions?

[…]

 > +++ b/debian/startpar.postinst
 > @@ -0,0 +1,3 @@
 > +#!/bin/sh -eu
 > +#DEBHELPER#
 > +dpkg-maintscript-helper rm_conffile /etc/init/startpar-bridge.conf 0.61~beta-1~ startpar -- "$@"

[…]

	I’m not going to claim I’m that familiar with Debian packaging
	practices, but wouldn’t .postinst alone be enough?  .postrm
	isn’t going to do anything if .postinst has already removed the
	file, and there seem to be nothing to warrant a .preinst, either.

-- 
FSF associate member #7257  http://am-1.org/~ivan/




More information about the Debian-init-diversity mailing list