This file is indexed.

prerm is in bsd-mailx 8.1.2-0.20160123cvs-2.

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
#!/bin/sh
# vim:ts=2:et
# $Id: bsd-mailx.prerm,v 1.2 2007-12-01 12:06:49 robert Exp $

set -e

if [ "$1" = "remove" ]; then
  update-alternatives --remove "mailx" "/usr/bin/bsd-mailx"
fi