OCaml 4.13.1 rebuild, fixes FS#72998
[arch-packages.git] / docbook-mathml / trunk / docbook-mathml.install
blob8ef86884c2562ebc0dba76855dea8c2b4d4c148f
1 post_install() {
2   if [ ! -e etc/xml/catalog ]; then
3     xmlcatalog --noout --create etc/xml/catalog
4   fi
5   xmlcatalog --noout --add "public" \
6     "-//OASIS//DTD DocBook MathML Module V1.1CR1//EN" \
7     "file:///usr/share/xml/docbook/mathml/1.1CR1/dbmathml.dtd" \
8     "etc/xml/catalog"
10   xmlcatalog --noout --add "system" \
11     "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd" \
12     "file:///usr/share/xml/docbook/mathml/1.1CR1/dbmathml.dtd" \
13     "etc/xml/catalog"
16 post_remove() {
17   xmlcatalog --noout --del "-//OASIS//DTD DocBook MathML Module V1.1CR1//EN" etc/xml/catalog
18   xmlcatalog --noout --del "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd" etc/xml/catalog
19     }