This file is indexed.

prerm is in docbook-ebnf 1.2~cr1-5.1.

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
24
25
26
27
28
#!/bin/sh
set -e
# Automatically added by dh_installcatalogs
if [ "$1" = "remove" ] || [ "$1" = "upgrade" ]; then
	update-catalog --quiet --remove --super /etc/sgml/docbook-ebnf.cat
fi
# End automatically added section
# Automatically added by dh_installxmlcatalogs
if [ "$1" = "remove" ] || [ "$1" = "upgrade" ]; then
	update-xmlcatalog --del --type public --id "-//OASIS//DTD DocBook EBNF Module" --root || true
	update-xmlcatalog --del --type system --id "http://www.oasis-open.org/docbook/xml/ebnf/" --root || true
	update-xmlcatalog --del --type system --id "http://docbook.org/xml/ebnf/" --root || true

	update-xmlcatalog --del --type system --id "http://www.oasis-open.org/docbook/xml/ebnf/1.0/dbebnf.dtd" --package docbook-ebnf || true
	update-xmlcatalog --del --type system --id "http://docbook.org/xml/ebnf/1.0/dbebnf.dtd" --package docbook-ebnf || true
	update-xmlcatalog --del --type public --id "-//OASIS//DTD DocBook EBNF Module V1.0//EN" --package docbook-ebnf || true
	update-xmlcatalog --del --type system --id "http://www.oasis-open.org/docbook/xml/ebnf/1.1CR1/dbebnf.dtd" --package docbook-ebnf || true
	update-xmlcatalog --del --type system --id "http://docbook.org/xml/ebnf/1.1CR1/dbebnf.dtd" --package docbook-ebnf || true
	update-xmlcatalog --del --type public --id "-//OASIS//DTD DocBook EBNF Module V1.1CR1//EN" --package docbook-ebnf || true
	update-xmlcatalog --del --type system --id "http://www.oasis-open.org/docbook/xml/ebnf/1.2CR1/dbebnf.dtd" --package docbook-ebnf || true
	update-xmlcatalog --del --type system --id "http://docbook.org/xml/ebnf/1.2CR1/dbebnf.dtd" --package docbook-ebnf || true
	update-xmlcatalog --del --type public --id "-//OASIS//DTD DocBook EBNF Module V1.2CR1//EN" --package docbook-ebnf || true
	update-xmlcatalog --del --type system --id "http://www.oasis-open.org/docbook/xml/ebnf/1.2b1/dbebnf.dtd" --package docbook-ebnf || true
	update-xmlcatalog --del --type system --id "http://docbook.org/xml/ebnf/1.2b1/dbebnf.dtd" --package docbook-ebnf || true
	update-xmlcatalog --del --type public --id "-//OASIS//DTD DocBook EBNF Module V1.2b1//EN" --package docbook-ebnf || true

fi
# End automatically added section