File: dbus.postrm

package info (click to toggle)
dbus 1.16.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,048 kB
  • sloc: ansic: 106,015; xml: 9,270; sh: 1,967; python: 242; makefile: 230; cpp: 27
file content (19 lines) | stat: -rw-r--r-- 355 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

set -e

if [ "$1" = "purge" ] ; then
	rmdir "${DPKG_ROOT:-/}var/run/dbus" || true
	rmdir "${DPKG_ROOT:-/}var/lib/dbus" || true

	LAUNCHER=/usr/lib/dbus-1.0/dbus-daemon-launch-helper

	# This respects $DPKG_ROOT
	if dpkg-statoverride --list "$LAUNCHER" >/dev/null 2>&1 ; then
		dpkg-statoverride --remove "$LAUNCHER"
	fi
fi

#DEBHELPER#

exit 0