summaryrefslogtreecommitdiff
path: root/debian/dbus.postinst
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd@debian.org>2006-02-16 11:04:55 +0000
committerSjoerd Simons <sjoerd@debian.org>2006-02-16 11:04:55 +0000
commit9699a5ee76da343e58bd103f2afb7828559dafc4 (patch)
tree3dd992c4ed88d312b57678fc79322763fd2ef365 /debian/dbus.postinst
parent0ca344d3982ad463fdeca6ec9ae0d0bdd433b8c5 (diff)
downloaddbus-9699a5ee76da343e58bd103f2afb7828559dafc4.tar.gz
* Sync relavant changes from ubuntu
+ dbus-0.60-mono-arguments-fix.diff - Added. 64bit fixes ((fd.o bugzilla #4410) + dbus-0.60-mono-return-null-fix.diff - Added. Don't return null for the session bus (fd.o bugzilla #5716) + Send the update-notifier reboot required notification if it's installed git-svn-id: svn+ssh://svn.debian.org/svn/pkg-utopia/packages/unstable/dbus@595 ceb527fc-18e6-0310-9fe2-813c157c29e7
Diffstat (limited to 'debian/dbus.postinst')
-rw-r--r--debian/dbus.postinst3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/dbus.postinst b/debian/dbus.postinst
index cf0f01e0..5eea2979 100644
--- a/debian/dbus.postinst
+++ b/debian/dbus.postinst
@@ -18,6 +18,9 @@ chown "$MESSAGEUSER"."$MESSAGEUSER" "$MESSAGEHOME" 2>/dev/null || \
if [ "$1" = "configure" ]; then
if [ -e /var/run/dbus/pid ] &&
ps --no-heading -p $(cat /var/run/dbus/pid) > /dev/null; then
+ # trigger an update notification which recommends to reboot
+ [ -x /usr/share/update-notifier/notify-reboot-required ] && \
+ /usr/share/update-notifier/notify-reboot-required || true
exit 0
fi
fi