Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-release > by-pkgid > 8b12a9c89dfb82717a226f7a00b566d1 > scriptlet

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