This file is indexed.

prerm is in request-tracker4 4.4.2-2.

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
48
49
50
51
52
53
54
55
56
57
58
#! /bin/sh

set -e

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

. /usr/share/debconf/confmodule

if [ ! -e /usr/share/dbconfig-common/internal/dbc-no-thanks ]; then
    . /usr/share/dbconfig-common/dpkg/prerm
    dbc_go request-tracker4 $@
fi

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

# Automatically added by dh_installinit/11.1.6ubuntu1
if [ -x "/etc/init.d/request-tracker4" ]; then
	invoke-rc.d request-tracker4 stop || exit 1
fi
# End automatically added section
# Automatically added by dh_installdeb/11.1.6ubuntu1
dpkg-maintscript-helper mv_conffile /etc/request-tracker4/RT_SiteConfig.d/60-logging /etc/request-tracker4/RT_SiteConfig.d/60-logging.pm -- "$@"
# End automatically added section
# Automatically added by dh_installdeb/11.1.6ubuntu1
dpkg-maintscript-helper mv_conffile /etc/request-tracker4/RT_SiteConfig.d/40-timezone /etc/request-tracker4/RT_SiteConfig.d/40-timezone.pm -- "$@"
# End automatically added section
# Automatically added by dh_usrlocal/11.1.6ubuntu1
(
	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