This file is indexed.

prerm is in ircd-hybrid 1:8.2.12+dfsg.1-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
#!/bin/sh

set -e

# Automatically added by dh_installinit, edited for use with debconf
# Not added anymore due to dh_installinit -n, so we manage it manually.
if [ -x "/etc/init.d/ircd-hybrid" ]; then
    if [ -e /usr/share/debconf/confmodule ]; then
	. /usr/share/debconf/confmodule
	db_get ircd-hybrid/restart_on_upgrade
	if [ "$RET" = "true" ]; then
	    invoke-rc.d ircd-hybrid stop || exit $?
	fi
	db_stop
    else
	invoke-rc.d ircd-hybrid stop || exit $?
    fi
fi
# End automatically added section