This file is indexed.

prerm is in inn 1:1.7.2q-41build1.

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
#!/bin/sh -e

# delete the pid file if INN is dead, or the init script may fail later
PIDFILE="/var/run/innd/innd.pid"
if [ -f $PIDFILE ]; then
  INNPID=$(cat $PIDFILE)
  kill -s 0 $INNPID 2> /dev/null || rm -f $PIDFILE
fi

# Automatically added by dh_installinit
if ([ -x "/etc/init.d/inn" ] || [ -e "/etc/init/inn.conf" ]) && \
   [ "$1" = remove ]; then
	invoke-rc.d inn stop || exit $?
fi
# End automatically added section