Sophie

Sophie

distrib > Mageia > 6 > x86_64 > media > core-updates > by-pkgid > 691fc5725b27dde3706c9c157bee81ea > scriptlet

boost-doctools-1.60.0-6.1.mga6.x86_64.rpm

POSTIN

/bin/sh
CATALOG=/etc/xml/catalog
/usr/bin/xmlcatalog --noout --add "rewriteSystem" \
 "http://www.boost.org/tools/boostbook/dtd" \
 "file:///usr/share/boostbook/dtd" $CATALOG
/usr/bin/xmlcatalog --noout --add "rewriteURI" \
 "http://www.boost.org/tools/boostbook/dtd" \
 "file:///usr/share/boostbook/dtd" $CATALOG
/usr/bin/xmlcatalog --noout --add "rewriteSystem" \
 "http://www.boost.org/tools/boostbook/xsl" \
 "file:///usr/share/boostbook/xsl" $CATALOG
/usr/bin/xmlcatalog --noout --add "rewriteURI" \
 "http://www.boost.org/tools/boostbook/xsl" \
 "file:///usr/share/boostbook/xsl" $CATALOG

POSTUN

/bin/sh
# remove entries only on removal of package
if [ "$1" = 0 ]; then
  CATALOG=/etc/xml/catalog
  /usr/bin/xmlcatalog --noout --del \
    "file:///usr/share/boostbook/dtd" $CATALOG
  /usr/bin/xmlcatalog --noout --del \
    "file:///usr/share/boostbook/xsl" $CATALOG
fi