Sophie

Sophie

distrib > Mageia > cauldron > i586 > by-pkgid > 3a9a60bb113259fa3aa82b8019081e2b > scriptlet

docbook5-style-xsl-1.79.2-4.mga9.noarch.rpm

POSTIN

/bin/sh
CATALOG=/etc/xml/catalog
/usr/bin/xmlcatalog --noout --add "rewriteSystem" \
 "http://cdn.docbook.org/release/xsl/1.79.2" \
 "file:///usr/share/sgml/docbook/xsl-ns-stylesheets-1.79.2" $CATALOG
/usr/bin/xmlcatalog --noout --add "rewriteURI" \
 "http://cdn.docbook.org/release/xsl/1.79.2" \
 "file:///usr/share/sgml/docbook/xsl-ns-stylesheets-1.79.2" $CATALOG
/usr/bin/xmlcatalog --noout --add "rewriteSystem" \
 "http://cdn.docbook.org/release/xsl/current/" \
 "file:///usr/share/sgml/docbook/xsl-ns-stylesheets-1.79.2" $CATALOG
/usr/bin/xmlcatalog --noout --add "rewriteURI" \
 "http://cdn.docbook.org/release/xsl/current/" \
 "file:///usr/share/sgml/docbook/xsl-ns-stylesheets-1.79.2" $CATALOG

/usr/bin/xmlcatalog --noout --add "rewriteSystem" \
 "http://docbook.sourceforge.net/release/xsl-ns/current" \
 "file:///usr/share/sgml/docbook/xsl-ns-stylesheets-1.79.2" $CATALOG
/usr/bin/xmlcatalog --noout --add "rewriteURI" \
 "http://docbook.sourceforge.net/release/xsl-ns/current" \
 "file:///usr/share/sgml/docbook/xsl-ns-stylesheets-1.79.2" $CATALOG

POSTUN

/bin/sh
if [ "$1" = 0 ]; then
CATALOG=/etc/xml/catalog
/usr/bin/xmlcatalog --noout --del \
"file:///usr/share/sgml/docbook/xsl-ns-stylesheets-1.79.2" $CATALOG
fi