This file is indexed.

prerm is in request-tracker4 4.2.12-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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#! /bin/sh

set -e

alts() {
    for bin in /usr/bin/rt-crontool /usr/sbin/rt-setup-database \
               /usr/sbin/rt-dump-metadata /usr/sbin/update-rt-siteconfig \
               /usr/sbin/rt-email-digest /usr/sbin/rt-email-dashboards \
               /usr/sbin/rt-clean-sessions /usr/sbin/rt-shredder \
               /usr/sbin/rt-email-group-admin /usr/sbin/rt-attributes-viewer \
               /usr/sbin/rt-fulltext-indexer /usr/sbin/rt-setup-fulltext-index \
               /usr/sbin/rt-validator /usr/sbin/rt-session-viewer \
               /usr/sbin/rt-preferences-viewer /usr/sbin/rt-validate-aliases \
               /usr/sbin/rt-importer /usr/sbin/rt-serializer; do
        alt=`basename $bin`
        update-alternatives --remove $alt $bin-4
    done
}

. /usr/share/debconf/confmodule
. /usr/share/dbconfig-common/dpkg/prerm 
dbc_go request-tracker4 $@

case "$1" in
    "remove") alts
        ;;
esac

# Automatically added by dh_usrlocal
(
	while read dir; do
		rmdir "$dir" 2>/dev/null || true
	done
) << DATA
/usr/local/share/request-tracker4/static
/usr/local/share/request-tracker4/po
/usr/local/share/request-tracker4/plugins
/usr/local/share/request-tracker4/lib
/usr/local/share/request-tracker4/html
/usr/local/share/request-tracker4
DATA
# End automatically added section
# Automatically added by dh_installinit
if [ -x "/etc/init.d/request-tracker4" ] || [ -e "/etc/init/request-tracker4.conf" ]; then
	invoke-rc.d request-tracker4 stop || exit $?
fi
# End automatically added section