PREUN
/bin/sh
/usr/bin/xmlcatalog --noout --del \
log4j.dtd /etc/xml/catalog >/dev/null 2>&1
POSTIN
/bin/sh
/usr/bin/install-catalog --add \
/etc/sgml/log4j-1.2.14-12.0.1mdv2008.1.cat \
/usr/share/sgml/log4j/catalog >/dev/null 2>&1
/usr/bin/xmlcatalog --noout --add system log4j.dtd \
file:///usr/share/sgml/log4j/log4j.dtd /etc/xml/catalog >/dev/null 2>&1
if [ -x /usr/bin/rebuild-gcj-db ]; then /usr/bin/rebuild-gcj-db || true ; fi
POSTUN
/bin/sh
/usr/bin/install-catalog --remove \
/etc/sgml/log4j-1.2.14-12.0.1mdv2008.1.cat \
/usr/share/sgml/log4j/catalog >/dev/null 2>&1
if [ -x /usr/bin/rebuild-gcj-db ]; then /usr/bin/rebuild-gcj-db || true ; fi