also sprach Frédéric Brière <fbri...@fbriere.net> [2009.08.22.1855 +0200]: > Nah, that could easily be avoided by making sure that the (unmodified) > conffile doesn't belong to any package when postinst is called. The > basic idea is to avoid this sequence: > > - Unpacking logcheck-database > - Unpacking sendmail-base > - Configuring logcheck-database > > At that point, we don't want to remove the file, since it now belongs to > sendmail-base.
I believe you have to make such removals in preinst or postrm, which are both also called on upgrades, aren't they? > Or, we could just have sendmail-base replace logcheck-database and > call it a day. :) that is what Replaces is for. -- .''`. martin f. krafft <madd...@d.o> Related projects: : :' : proud Debian developer http://debiansystem.info `. `'` http://people.debian.org/~madduck http://vcs-pkg.org `- Debian - when you have better things to do than fixing systems
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)
_______________________________________________ Logcheck-devel mailing list Logcheck-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/logcheck-devel