This file is indexed.

prerm is in request-tracker3.8 3.8.11-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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#! /bin/sh

set -e

alts() {
    for bin in /usr/bin/rt-crontool /usr/sbin/rt-setup-database \
               /usr/sbin/rt-dump-database /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; do
        alt=`basename $bin`
        update-alternatives --remove $alt $bin-3.8
    done
}

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

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-tracker3.8/plugins
/usr/local/share/request-tracker3.8/po
/usr/local/share/request-tracker3.8/lib
/usr/local/share/request-tracker3.8/html
/usr/local/share/request-tracker3.8
DATA
# End automatically added section
# Automatically added by dh_installinit
if [ -x "/etc/init.d/request-tracker3.8" ]; then
	invoke-rc.d request-tracker3.8 stop || exit $?
fi
# End automatically added section