Sophie

Sophie

distrib > Mageia > 6 > armv7hl > by-pkgid > c1b8486453e236a23d986fc857bf2bc5 > scriptlet

docbook5-style-xsl-1.79.1-1.mga6.noarch.rpm

POSTIN

/bin/sh
CATALOG=/etc/xml/catalog
 /usr/bin/xmlcatalog --noout --add "rewriteSystem" \
  "http://docbook.sourceforge.net/release/xsl-ns/1.79.1" \
  "file:///usr/share/sgml/docbook/xsl-ns-stylesheets-1.79.1" $CATALOG
/usr/bin/xmlcatalog --noout --add "rewriteURI" \
 "http://docbook.sourceforge.net/release/xsl-ns/1.79.1" \
 "file:///usr/share/sgml/docbook/xsl-ns-stylesheets-1.79.1" $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.1" $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.1" $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.1" $CATALOG
fi