This file is indexed.

postinst is in w3-dtd-mathml 2.0.0.0-5.

This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh
set -e
# Automatically added by dh_installxmlcatalogs
if [ "$1" = "configure" ]; then
	update-xmlcatalog --add --type public --id "-//W3C//DTD MathML" --package w3-dtd-mathml --local /usr/share/xml/schema/w3c/mathml/dtd/catalog.xml
	update-xmlcatalog --add --type public --id "-//W3C//DTD XHTML 1.1 plus MathML" --package w3-dtd-mathml --local /usr/share/xml/schema/w3c/mathml/dtd/catalog.xml
	update-xmlcatalog --add --type system --id "http://www.w3.org/TR/MathML2/dtd/" --package w3-dtd-mathml --local /usr/share/xml/schema/w3c/mathml/dtd/catalog.xml

	update-xmlcatalog --add --type public --id "-//W3C//DTD MathML" --package w3-dtd-mathml --root
	update-xmlcatalog --add --type public --id "-//W3C//DTD XHTML 1.1 plus MathML" --package w3-dtd-mathml --root
	update-xmlcatalog --add --type system --id "http://www.w3.org/TR/MathML2/dtd/" --package w3-dtd-mathml --root

fi
# End automatically added section
# Automatically added by dh_installcatalogs
if [ "$1" = "configure" ]; then
	rm -f /etc/sgml/w3-dtd-mathml.cat
	for ordcat in /usr/share/xml/schema/w3c/mathml/dtd/catalog; do
		update-catalog --quiet --add /etc/sgml/w3-dtd-mathml.cat ${ordcat}
	done
	update-catalog --quiet --add --super /etc/sgml/w3-dtd-mathml.cat
fi
# End automatically added section