This file is indexed.

prerm is in php5-fpm 5.5.9+dfsg-1ubuntu4.

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

set -e


php5_enable() { return 0; }

if [ -e /usr/share/php5/php5-maintscript-helper ]; then
    . /usr/share/php5/php5-maintscript-helper

    mods=$(php5query -M)
    for mod in $mods; do
	php5_invoke dismod fpm $mod
    done
fi

# Automatically added by dh_installinit
if [ -x "/etc/init.d/php5-fpm" ] || [ -e "/etc/init/php5-fpm.conf" ]; then
	invoke-rc.d php5-fpm stop || exit $?
fi
# End automatically added section


exit 0