From: Michael Vogt Date: Wed, 28 May 2008 12:06:13 +0000 (+0200) Subject: debian/apt.cron.daily: test for both existance of dbus-send and if dbus-daemon is... X-Git-Tag: 0.7.21~125 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/f9b4616d1d9ef367454b5f773cfff74164c558ff?hp=-c debian/apt.cron.daily: test for both existance of dbus-send and if dbus-daemon is actually running --- f9b4616d1d9ef367454b5f773cfff74164c558ff 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