prerm is in mgetty-fax 1.1.36-2ubuntu1.
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
if [ -x "/etc/init.d/mgetty-fax" ] || [ -e "/etc/init/mgetty-fax.conf" ]; then
invoke-rc.d mgetty-fax stop || exit $?
fi
# End automatically added section
|