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

Daniel Leidert daniel.leidert at wgdd.de
Sun Dec 4 23:05:26 UTC 2011


Am Sonntag, den 04.12.2011, 13:06 +0100 schrieb Helmut Grohne:

[..]
> So what are your thoughts on this?

My thoughts on this are pretty easy. There are IMO three mechanisms to
use:

(1) Register the catalog, if it exists (and unregister any registered
catalog, if it doesn't exist anymore). So users can remove the package
catalog file.

(2) Register the catalog only during installation, but not during
upgrade. Usually we only add a catalog reference to the super
catalog.

(3) Catalog files should be written at build time not during
installation. Instead of creating /etc/sgml/package.cat during
installation, this should be created during package build. So the user
can edit /etc/sgml/package.cat and /etc/sgml/catalog and we preserve
these changes.

If the user now changes /etc/sgml/package.cat and we need to ship an
updated file, he should usually be asked, if he wishes to update the
file during installation.

IMO we don't need to check, what has been "disabled" or not. Or does
this have any advantages IYO?

Regards, Daniel







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