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

Dmitry Bogatov KAction at debian.org
Wed Nov 28 18:48:04 GMT 2018

[2018-11-27 17:33] Ivan Shmakov <ivan at siamics.net>
> 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.

Manual page of dpkg-maintscript-helper suggests so:

	Many of those tasks require coordinated actions from several maintainer
	scripts (preinst, postinst, prerm, postrm). To avoid mistakes the  same
	call  simply  needs  to  be  put  in  all  scripts and the program will
	automatically adapt its behaviour based  on  the  environment  variable
	DPKG_MAINTSCRIPT_NAME  and on the maintainer scripts arguments that you
	have to forward after a double hyphen.

More information about the Debian-init-diversity mailing list