if [ -x /usr/bin/install-catalog -a -d /etc/sgml ]; then
/usr/bin/install-catalog --add \
/etc/sgml/log4j-1.2.17-alt1_20jpp8.cat \
/usr/share/sgml/log4j/catalog > /dev/null || :
fi
if [ -x /usr/bin/xmlcatalog -a -w /etc/xml/catalog ]; then
/usr/bin/xmlcatalog --noout --add public "-//APACHE//DTD LOG4J 1.2//EN" \
file:///usr/share/sgml/log4j/log4j.dtd /etc/xml/catalog \
> /dev/null
/usr/bin/xmlcatalog --noout --add system log4j.dtd \
file:///usr/share/sgml/log4j/log4j.dtd /etc/xml/catalog \
> /dev/null || :
fi