~packagekit/packagekit/ubuntu-maverick

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
# postrm script for packagekit

set -e

#DEBHELPER#

if [ "$1" = "purge" ]; then
	if getent user packagekit >/dev/null; then
		if [ -x /usr/sbin/deluser ]; then
			deluser --quiet --system packagekit
		fi
	fi

        if [ -x /etc/init.d/dbus ]; then
                invoke-rc.d dbus force-reload || true
        fi

fi