[xml/sgml-pkgs] Bug#477751: tackling this bug

Joey Hess joeyh at debian.org
Sat Jan 7 18:53:46 UTC 2012

Helmut Grohne wrote:
> I agree that the complexity should not reside in debhelper templates.
> However that is already the case. The entire code that is responsible
> for #88010 already is contained in debhelper. It is debhelper's prerm
> that removes the package catalog from the root catalog. And it is
> debhelper's postinst that removes the package catalog file. Those are
> two removals shipped in current debhelper and they are causing the harm.
> One of those removals is done using /bin/rm (out of scope of sgml-base)
> and the other removal is a call to update-catalog --quiet --remove
> --super /etc/sgml/$package.cat. Turning this into a no-op is error prone
> on its own as it might legitimately be invoked that way from a user.

I'm not suggesting that the existing code, as currently present in
package maintainer scripts everywhere, should somehow implement this

But update-catalog can get new switches that handle the transition, and
debhelper can update the code to use them.

see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-xml-sgml-pkgs/attachments/20120107/278aa1ff/attachment.pgp>

More information about the debian-xml-sgml-pkgs mailing list