Sophie

Sophie

distrib > Mageia > 6 > armv5tl > media > core-updates > by-pkgid > 8fbbfbe2f0d39f67d89df550f5ee44f0 > scriptlet

boost-doctools-1.60.0-6.1.mga6.armv5tl.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