prerm is in dbus 1.12.2-1ubuntu1.
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 | #!/bin/sh
set -e
if [ -d /run/systemd/system ] && [ "$1" = remove ]; then
# Before stopping dbus-daemon, ensure that it won't just be
# reactivated by dbus.socket. The "invoke-rc.d dbus stop"
# added by debhelper, below, will harmlessly not do anything.
deb-systemd-invoke stop dbus.socket dbus.service || exit $?
fi
# Automatically added by dh_installdeb/10.10.7ubuntu2
dpkg-maintscript-helper rm_conffile /etc/dbus-1/session.conf 1.10.0-4\~ dbus -- "$@"
dpkg-maintscript-helper rm_conffile /etc/dbus-1/system.conf 1.10.0-4\~ dbus -- "$@"
dpkg-maintscript-helper rm_conffile /etc/init/dbus.conf 1.10.10-1ubuntu1\~ -- "$@"
# End automatically added section
exit 0
|