prerm is in munge 0.5.11-3.
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
# Automatically added by dh_installinit
if [ -x "/etc/init.d/munge" ] || [ -e "/etc/init/munge.conf" ]; then
invoke-rc.d munge stop || exit $?
fi
# End automatically added section
rm -f /var/lib/munge/munge.seed
rm -rf /var/run/munge
exit 0
|