This file is indexed.

postrm is in deborphan 1.7.28.8ubuntu1.

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

KEEP="/var/lib/deborphan/keep"
KEEPDIR="/var/lib/deborphan"

if [ "$1" = "purge" ]; then
	if [ -f $KEEP ]; then
		rm -f $KEEP
		# postrm should not fail when the admin created a file in $KEEPDIR
		rmdir $KEEPDIR || true
	fi
fi

# Here debhelper should add it's stuff if any:
# Automatically added by dh_installmenu
if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi
# End automatically added section



# vim: set ts=2: