Sophie

Sophie

distrib > Mageia > 8 > aarch64 > by-pkgid > a688dfcd53859232e99e96be15c2e259 > scriptlet

docbook5-style-xsl-1.79.2-3.mga8.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