Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > ca163dc75253b6309cacba0efd7c171b > scriptlet

boost-doctools-1.68.0-4.mga7.i586.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