prerm is in webfs 1.21+ds1-11.
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
# Automatically added by dh_installinit
if [ -x "/etc/init.d/webfs" ] || [ -e "/etc/init/webfs.conf" ]; then
invoke-rc.d webfs stop || exit $?
fi
# End automatically added section
# Older versions of Webfs had an init script that could leave
# the PID-file behind after stopping the service. Correct this
# behaviour.
rm -f /var/run/webfs/webfsd.pid || true
|