X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/de15fbae15a0d44457dd998a5804c62bf0cc3d7d..d530b4c24fc452efc82be4b7e1ebc536a00c09b7:/debian/apt.cron.daily diff --git a/debian/apt.cron.daily b/debian/apt.cron.daily index 34d6b164f..48714ec15 100644 --- a/debian/apt.cron.daily +++ b/debian/apt.cron.daily @@ -173,8 +173,11 @@ 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 + # Could possible test access to '/var/run/dbus/system_bus_socket' has well, + # but I'm not sure how stable the internal pipe location is defined as + # being; so for the moment just 2>/dev/null . --sladen 2007-09-27 if which dbus-send >/dev/null; then - dbus-send --system / app.apt.dbus.updated boolean:true + dbus-send --system / app.apt.dbus.updated boolean:true 2>/dev/null || true fi update_stamp $UPDATE_STAMP fi