This file is indexed.

preinst is in dbus 1.10.6-1ubuntu3.

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
#!/bin/sh

set -e

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

if [ "$1" = upgrade ]; then
	if dpkg --compare-versions "$2" lt "1.9.4-2~"; then
		dpkg-divert --add --rename --package dbus.new --divert "$LAUNCHER.new" "$LAUNCHER" >/dev/null
		if [ ! -x "$LAUNCHER" ]; then
			cp -a "$LAUNCHER.new" "$LAUNCHER"
		fi
	fi
fi

# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/dbus-1/session.conf 1.10.0-4~ dbus -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/dbus-1/system.conf 1.10.0-4~ dbus -- "$@"
# End automatically added section