~packagekit/packagekit/ubuntu-maverick

« back to all changes in this revision

Viewing changes to debian/packagekit.postrm

  • Committer: Sebastian Heinlein
  • Date: 2008-03-11 09:16:43 UTC
  • Revision ID: sebi@glatzor.de-20080311091643-nh38nhb1020d4nxy
* Follow forked-dbus-backend branch
* Switch to the apt2 backend
* New dependency on apt-xapian-index
* New build dependeny on intltool
* Run the packagekitd as packagekit user
* Improve description (thanks to Guus Sliepen)
* Add a patch to allow the root backend user to own the dbus object

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
# postrm script for packagekit
 
3
 
 
4
set -e
 
5
 
 
6
#DEBHELPER#
 
7
 
 
8
if [ "$1" = "purge" ]; then
 
9
        if getent user packagekit >/dev/null; then
 
10
                if [ -x /usr/sbin/deluser ]; then
 
11
                        deluser --quiet --system packagekit
 
12
                fi
 
13
        fi
 
14
 
 
15
        if [ -x /etc/init.d/dbus ]; then
 
16
                invoke-rc.d dbus force-reload || true
 
17
        fi
 
18
 
 
19
fi
 
20