This file is indexed.

postrm is in xpilot-ng-server 1:4.7.3-2ubuntu2.

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/bash

set -e

case "$1" in
	purge)
	    rm -f /etc/default/xpilot-ng-server
	    # Remove xpilotng user and group, if they exist
	    id xpilotng >/dev/null 2>&1 && userdel -r xpilotng
	    [ -d /etc/xpilot-ng ] && chown -R root:root /etc/xpilot-ng
	;;
esac

# Normally added by dh_installinit, but included here manually because
# we customize the prerm and therefore run dh_installinit --noscripts.
if [ "$1" = "purge" ] ; then
        update-rc.d xpilot-ng-server remove >/dev/null
fi