summaryrefslogtreecommitdiff
path: root/debian/apt.cron.daily
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2008-05-28 14:06:13 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2008-05-28 14:06:13 +0200
commitf9b4616d1d9ef367454b5f773cfff74164c558ff (patch)
tree6ecf4adcac6ec6ff996cb4a8d5748889b52d2755 /debian/apt.cron.daily
parent7822f141da0200d52d166d6569129e3350016955 (diff)
debian/apt.cron.daily: test for both existance of dbus-send and if dbus-daemon is actually running
Diffstat (limited to 'debian/apt.cron.daily')
-rw-r--r--debian/apt.cron.daily2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/apt.cron.daily b/debian/apt.cron.daily
index a87fca79b..84d3afe1d 100644
--- a/debian/apt.cron.daily
+++ b/debian/apt.cron.daily
@@ -210,7 +210,7 @@ fi
UPDATE_STAMP=/var/lib/apt/periodic/update-stamp
if check_stamp $UPDATE_STAMP $UpdateInterval; then
if apt-get -qq update 2>/dev/null; then
- if pidof dbus-daemon >/dev/null; then
+ if which dbus-send >/dev/null && pidof dbus-daemon >/dev/null; then
dbus-send --system / app.apt.dbus.updated boolean:true
fi
update_stamp $UPDATE_STAMP