X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/f659b39ab985d28e4b6618a1146ca8569abac253..7822f141da0200d52d166d6569129e3350016955:/debian/apt.cron.daily diff --git a/debian/apt.cron.daily b/debian/apt.cron.daily index 1ca830c93..a87fca79b 100644 --- a/debian/apt.cron.daily +++ b/debian/apt.cron.daily @@ -210,9 +210,9 @@ 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 which dbus-send >/dev/null; then - dbus-send --system / app.apt.dbus.updated boolean:true - fi + if pidof dbus-daemon >/dev/null; then + dbus-send --system / app.apt.dbus.updated boolean:true + fi update_stamp $UPDATE_STAMP fi fi