This file is indexed.

postrm is in hal 0.5.14-8.

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
23
24
25
26
27
28
#!/bin/sh

set -e



if [ "$1" = "purge" ] ; then
	# Tell dbus to reload it's configuration files only, when we purge the
	# package, i.e. when we remove its conffiles in /etc/dbus-1/system.d/
  	if [ -x /etc/init.d/dbus ]; then
		invoke-rc.d dbus force-reload || true
  	fi

	if [ -x "$(command -v deluser)" ]; then
        	deluser --quiet --system haldaemon > /dev/null || true
	else
		echo >&2 "Not removing haldaemon system account because deluser command was not found"
	fi
	if [ -d /var/cache/hald ]; then
		rm -f /var/cache/hald/fdi-cache
		rmdir /var/cache/hald || true
	fi

	if [ -d /var/run/hald ]; then
		rm -f /var/run/hald/acl-list
		rmdir /var/run/hald || true
	fi
fi