File: hal.postrm

package info (click to toggle)
hal 0.5.8.1-9etch1
  • links: PTS, VCS
  • area: main
  • in suites: etch
  • size: 2,060 kB
  • ctags: 2
  • sloc: sh: 152; makefile: 27
file content (17 lines) | stat: -rw-r--r-- 313 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

set -e

# Do not restart dbus on upgrades, only if we remove the package.
if [ -x /etc/init.d/dbus ]; then
  invoke-rc.d dbus force-reload || true
fi

#DEBHELPER#

if [ "$1" = "purge" ] ; then
        deluser --quiet --system haldaemon > /dev/null || true
        rmdir /var/run/hal || true
fi

exit 0