aboutsummaryrefslogtreecommitdiffstats
path: root/main/docbook-xsl/docbook-xsl.post-deinstall
blob: 2b9f0d4a15e55a7401def50090dd6ae165021a94 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

_OLD=${1%-r[0-9]*}

if which xmlcatalog > /dev/null; then
	xmlcatalog --noout --del \
		"/usr/share/xml/docbook/xsl-stylesheets-${_OLD}" \
		etc/xml/catalog
fi