db-move: moved gnome-weather from [staging] to [testing] (any)
[arch-packages.git] / w3c-mathml2 / trunk / w3c-mathml2.install
blob6d8f9e1fe14fd2b8a1bbf1435961c3be8b57327e
1 post_install() {
2   if [ ! -e etc/xml/catalog ]; then
3     xmlcatalog --noout --create etc/xml/catalog
4   fi
6   xmlcatalog --noout --add public "-//W3C//DTD MathML 2.0//EN" "file:///usr/share/xml/w3c/mathml2/mathml2.dtd" etc/xml/catalog
7   xmlcatalog --noout --add public "-//W3C//DTD MathML//EN" "file:///usr/share/xml/w3c/mathml2/mathml2.dtd" etc/xml/catalog
8   xmlcatalog --noout --add system "http://www.w3.org/TR/MathML2/dtd/mathml2.dtd" "file:///usr/share/xml/w3c/mathml2/mathml2.dtd" etc/xml/catalog
11 post_remove() {
12   xmlcatalog --noout --del "-//W3C//DTD MathML 2.0//EN" etc/xml/catalog
13   xmlcatalog --noout --del "-//W3C//DTD MathML//EN" etc/xml/catalog
14   xmlcatalog --noout --del "http://www.w3.org/TR/MathML2/dtd/mathml2.dtd" etc/xml/catalog