[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SGML catalogs



On Fri, Jul 12, 2002 at 10:32:01AM +0200, Jérôme Marant wrote:
> On Fri, Jul 12, 2002 at 10:06:36AM +0200, Alexandre wrote:
> > Should the postinst scripts use udpate-catalog or install-sgmlcatalog to
> > register new catalog entries?
> 
>   IIRC, the xbel package uses such a registration mechanism, but with
>   XML catalog. There might not be a lot of differences.

That what I'm looking at currently (working on bug#148135 here), and I do 
not see where xml is involved. The postinst script reads (tests, loops, 
bells and whistles removed):

PACKAGE=xbel
CENTRALCAT=/etc/sgml/$PACKAGE.cat
ORDCATS="misc/xbel/xbel.cat"
update-catalog --quiet --add $CENTRALCAT /usr/share/sgml/$ordcat
update-catalog --quiet --add --super $CENTRALCAT

Alexandre Fayolle
-- 
LOGILAB, Paris (France).
http://www.logilab.com   http://www.logilab.fr  http://www.logilab.org
Narval, the first software agent available as free software (GPL).


-- 
To UNSUBSCRIBE, email to debian-mentors-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: