PREIN
/bin/sh
if [ $1 -gt 1 ] && [ -e /etc/xml/catalog ]; then for type in system uri ; do for path in 2001 2009/01 ; do /usr/bin/xmlcatalog --noout --add $type \ "http://www.w3.org/$path/xml.xsd" \ "file:///usr/share/xml/xml.xsd" \ /etc/xml/catalog done done fi