This file is indexed.

prerm is in apache2 2.4.29-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
#!/bin/sh
set -e

# If upgrading, postinst will restart. So we only need stop if removing.
if [ -x "/etc/init.d/apache-htcacheclean" ] && [ "$1" = remove ] ; then
	invoke-rc.d apache-htcacheclean stop || true
fi

# Automatically added by dh_installinit/11.1.5ubuntu1
if [ -x "/etc/init.d/apache2" ]; then
	invoke-rc.d apache2 stop || true
fi
# End automatically added section
# Automatically added by dh_installdeb/11.1.5ubuntu1
dpkg-maintscript-helper mv_conffile /etc/default/apache2 /etc/default/apache-htcacheclean 2.4.18-2~ -- "$@"
# End automatically added section
# Automatically added by dh_installdeb/11.1.5ubuntu1
dpkg-maintscript-helper rm_conffile /etc/bash_completion.d/apache2 2.4.12-3~ -- "$@"
# End automatically added section