This file is indexed.

prerm is in mgetty-fax 1.1.36-1.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
17
18
19
20
#!/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" ]; then
	if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
		invoke-rc.d mgetty-fax stop || exit $?
	else
		/etc/init.d/mgetty-fax stop || exit $?
	fi
fi
# End automatically added section