prerm is in slapd 2.4.28-1.1ubuntu4.6.
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 | #!/bin/sh
set -e
. /usr/share/debconf/confmodule
# Automatically added by dh_installinit
if [ -x "/etc/init.d/slapd" ]; then
invoke-rc.d slapd stop || exit $?
fi
# End automatically added section
exit 0
# vim: set foldmethod=marker:
|