From 2ce23a2ae5d85565603038cbeae59219d36b0aea Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Wed, 13 Feb 2008 15:50:24 +0100 Subject: * debian/apt.cron.daily: - add apt-key net-update to the nightly cron job --- debian/apt.cron.daily | 3 +++ 1 file changed, 3 insertions(+) (limited to 'debian/apt.cron.daily') diff --git a/debian/apt.cron.daily b/debian/apt.cron.daily index c4124981a..d1ee08a5c 100644 --- a/debian/apt.cron.daily +++ b/debian/apt.cron.daily @@ -182,6 +182,9 @@ fi UPDATE_STAMP=/var/lib/apt/periodic/update-stamp if check_stamp $UPDATE_STAMP $UpdateInterval; then + # check for a new archive signing key (against the master keyring) + apt-key net-update + # now run the update if apt-get -qq update -o APT::Update::Auth-Failure::="cp /usr/share/apt/apt-auth-failure.note /var/lib/update-notifier/user.d/" 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 -- cgit v1.2.3-70-g09d2