[xml/sgml-pkgs] [PATCH debhelper] dh_installcatalogs: use update-sgmlcatalog in maintainer scripts if available

Jonathan Nieder jrnieder at gmail.com
Tue Mar 1 19:02:35 UTC 2011


Joey Hess wrote:
> Jonathan Nieder wrote:

>> +		dh_update_catalog () { update-catalog "$@"; 
>
> What is dh_update_catalog?

I used that name to avoid polluting postinst's namespace, but
I had forgotten that

> The dh_ namespace is reserved for debhelper commands, and add-on
> commands that conform to the debhelper interface.

Does debhelper have a private namespace?  (Maybe _debhelper_<foo>
or something?)

It's moot, anyway, since Daniel nacked the patch. :)

Thanks for a useful hint.
Jonathan



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