1 2 3 4 5 6 7 8
#!/bin/sh if command -v xmlcatalog > /dev/null; then xmlcatalog --noout --del \ "/usr/share/xml/docbook/xsl-stylesheets-ns" \ etc/xml/catalog fi