PREUN
/bin/sh
/usr/bin/xmlcatalog --noout --del \
xhtml1-dtds-1.0-20020801.7.mga8.xml \
/etc/xml/catalog >/dev/null
/usr/bin/xmlcatalog --sgml --noout --del \
/etc/sgml/xhtml1-dtds-1.0-20020801.7.mga8.soc \
/usr/share/xml/xhtml/1.0/xhtml.soc >/dev/null
:
POSTIN
/bin/sh
cd /etc/xml
[ -e catalog ] || /usr/bin/xmlcatalog --noout --create catalog
/usr/bin/xmlcatalog --noout --add \
nextCatalog xhtml1-dtds-1.0-20020801.7.mga8.xml "" catalog >/dev/null
cd - >/dev/null
/usr/bin/xmlcatalog --sgml --noout --add \
/etc/sgml/xhtml1-dtds-1.0-20020801.7.mga8.soc \
/usr/share/xml/xhtml/1.0/xhtml.soc >/dev/null
: