This file is indexed.

postrm is in mongrel2-run 1.11.0-1build1.

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
set -e

if [ "$1" = "purge" ]; then

	sv force-stop /etc/sv/mongrel2 2>/dev/null || true
	rm -rf /etc/sv/mongrel2/supervise
	rm -rf /var/lib/supervise/mongrel2

	rm -f /var/log/mongrel2/access_7980.log
	rm -f /var/log/mongrel2/error_7980.log
	rmdir /var/log/mongrel2 || true

	rm -f /etc/mongrel2/mongrel2.sqlite
	rm -rf /var/run/mongrel2

fi

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.