This file is indexed.

prerm is in xml-core 0.13.

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
29
30
31
32
33
34
#!/bin/sh
set -e
# Automatically added by dh_installxmlcatalogs
if [ "$1" = "remove" ] || [ "$1" = "upgrade" ]; then
	update-xmlcatalog --del --type system --id "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd" --root || true
	update-xmlcatalog --del --type public --id "-//OASIS//DTD XML Catalogs V1.0//EN" --root || true
	update-xmlcatalog --del --type system --id "http://globaltranscorp.org/oasis/catalog/xml/tr9401.dtd" --root || true
	update-xmlcatalog --del --type public --id "-//GlobalTransCorp//DTD XML Catalogs V1.0-Based Extension V1.0//EN" --root || true

	update-xmlcatalog --del --type system --id "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd" --package xml-core || true
	update-xmlcatalog --del --type public --id "-//OASIS//DTD XML Catalogs V1.0//EN" --package xml-core || true
	update-xmlcatalog --del --type system --id "http://globaltranscorp.org/oasis/catalog/xml/tr9401.dtd" --package xml-core || true
	update-xmlcatalog --del --type public --id "-//GlobalTransCorp//DTD XML Catalogs V1.0-Based Extension V1.0//EN" --package xml-core || true

fi
# End automatically added section
# Automatically added by dh_installcatalogs
if [ "$1" = "remove" ] || [ "$1" = "upgrade" ]; then
	update-catalog --quiet --remove --super /etc/sgml/xml-core.cat
fi
# End automatically added section
# Automatically added by dh_usrlocal
(
	while read dir; do
		rmdir "$dir" 2>/dev/null || true
	done
) << DATA
/usr/local/share/xml/declaration
/usr/local/share/xml/entities
/usr/local/share/xml/misc
/usr/local/share/xml/schema
/usr/local/share/xml
DATA
# End automatically added section