This file is indexed.

postrm is in apt-mirror 0.5.1-1ubuntu1.

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
#!/bin/sh
set -e

purge_aptmirror_clean() {
	if test -f /var/spool/apt-mirror/var/clean.sh; then
		rm -f /var/spool/apt-mirror/var/clean.sh
	fi
	if test -f /var/spool/apt-mirror/var/postmirror.sh; then
		rm -f /var/spool/apt-mirror/var/postmirror.sh
	fi
	if test -f /var/spool/apt-mirror/var/apt-mirror.lock; then
		rm -f /var/spool/apt-mirror/var/apt-mirror.lock
	fi
}

if test "$1" = "purge"; then
	purge_aptmirror_clean
fi