From b10bf38781489771124d34584689ed3d908c2b51 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Wed, 24 Mar 2010 00:28:21 +0000 Subject: * debian/dbus.init - Update LSB header: Remove runlevel 1 from Default-Stop and let killprocs do the job for us. * debian/dbus.postinst - Remove old stop symlinks from runlevel 1 on upgrades. git-svn-id: svn+ssh://svn.debian.org/svn/pkg-utopia/packages/unstable/dbus@3570 ceb527fc-18e6-0310-9fe2-813c157c29e7 --- debian/dbus.postinst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'debian/dbus.postinst') diff --git a/debian/dbus.postinst b/debian/dbus.postinst index 1031ed63..bdac3426 100644 --- a/debian/dbus.postinst +++ b/debian/dbus.postinst @@ -31,6 +31,11 @@ if [ "$1" = configure ] && dpkg --compare-versions "$2" lt-nl 1.1.20-1; then update-rc.d -f dbus remove >/dev/null fi +# Remove stop symlinks for runlevel 1 as killprocs already does the job for us. +if [ "$1" = configure ] && dpkg --compare-versions "$2" lt-nl 1.2.24-1; then + rm -f /etc/rc1.d/K??dbus +fi + if [ "$1" = configure ] && [ -n "$2" ] && [ -x "/etc/init.d/dbus" ]; then # Restart dbus on upgrades. # dh_installinit -r creates the necessary start action. -- cgit v1.2.3