On Mon, Apr 30, 2012 at 12:24:52PM -0400, Joey Hess wrote:
> Helmut Grohne wrote:
> > On the debhelper side it should be enough to remove all remaining calls
> > to update-catalog and introduce a dependency on the changed sgml-base. I
> > did not test this thus far.
> 
> Won't dh_installcatalogs also need to be modified to stop deleting the
> package's central catalog file on upgrade? Or does this do away with
> the "central catalog" thing and just use the super catalog?

There are two places where the central catalog is deleted. I am not
sure which of them you are talking about:
1) During postinst the old snippet removes and recreates the central
   catalog. This behaviour is removed by my debhelper.debdiff.
2) The transitional code I added removes the central catalog in preinst
   if the central catalog is not a conffile. This call could be
   disabled. That would cause a question about a supposedly user
   modified configuration file for every single central catalog that is
   shipped with a package being rebuild with an updated debhelper. I
   deemed this question unacceptable, because it would hit every
   installation (even those who never actively touched those files). By
   removing the file in preinst, dpkg will put the file back during
   unpack and everything is fine (except one more loss of user
   configuration).

So we still have central catalogs, but they are proper conffiles now.

Does this answer your question?

Helmut



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to