summaryrefslogtreecommitdiff
path: root/debian/dbus.postinst
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2008-02-28 08:20:18 +0000
committerMichael Biebl <biebl@debian.org>2008-02-28 08:20:18 +0000
commit950a30653358e3a42c089d36a6f11a1ac39aa5b0 (patch)
treec4013d89b16ae532d9ca36493f6b6350c5ea4788 /debian/dbus.postinst
parent1da5937e5e63f9e3afaeb595362b78422c1c053d (diff)
downloaddbus-950a30653358e3a42c089d36a6f11a1ac39aa5b0.tar.gz
- Update init scripts for versions < 1.1.20-1
- Ignore the output of update-rc -f remove git-svn-id: svn+ssh://svn.debian.org/svn/pkg-utopia/packages/unstable/dbus@2098 ceb527fc-18e6-0310-9fe2-813c157c29e7
Diffstat (limited to 'debian/dbus.postinst')
-rw-r--r--debian/dbus.postinst6
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/dbus.postinst b/debian/dbus.postinst
index b241b50a..cf9392de 100644
--- a/debian/dbus.postinst
+++ b/debian/dbus.postinst
@@ -25,11 +25,11 @@ fi
# update init script symlinks for new runlevels and priorities for upgrades
# from older versions
-if [ "$1" = configure ] && dpkg --compare-versions "$2" lt-nl 1.1.4-2; then
- echo "Reinstalling init script for new runlevels and priorities..." >&2
+if [ "$1" = configure ] && dpkg --compare-versions "$2" lt-nl 1.1.20-1; then
+ echo "Reinstalling init script for new runlevels and priorities ..." >&2
# remove old init script symlinks; dh_installinit adds the proper
# update-rc.d snippet later on
- update-rc.d -f dbus remove
+ update-rc.d -f dbus remove >/dev/null
fi
#DEBHELPER#