This file is indexed.

prerm is in fcgiwrap 1.1.0-10.

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

set -e

# Stop the socket on remove so fcgiwrap is not restarted via socket activation
if [ -d /run/systemd/system ] && [ "$1" = remove ] ; then
	systemctl stop fcgiwrap.socket || true
fi

# Automatically added by dh_installinit/10.6.4ubuntu1
if [ -x "/etc/init.d/fcgiwrap" ] && [ "$1" = remove ]; then
	invoke-rc.d fcgiwrap stop || exit $?
fi
# End automatically added section