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

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

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