From f9b4616d1d9ef367454b5f773cfff74164c558ff Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Wed, 28 May 2008 14:06:13 +0200 Subject: debian/apt.cron.daily: test for both existance of dbus-send and if dbus-daemon is actually running --- debian/apt.cron.daily | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian/apt.cron.daily') 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 -- cgit v1.2.3