prerm is in mgetty-fax 1.1.36-3.1.
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 -e
action=$1
version=$2
if [ "$1" = "remove" ]
then
rm -f /etc/mgetty/.faxrunqd_not_to_be_run
rm -f /var/spool/fax/outgoing/.last_run
fi
# Automatically added by dh_installinit/10.7.2ubuntu2
if [ -x "/etc/init.d/mgetty-fax" ]; then
invoke-rc.d mgetty-fax stop || exit $?
fi
# End automatically added section
|