diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2008-02-13 15:50:24 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2008-02-13 15:50:24 +0100 |
commit | 2ce23a2ae5d85565603038cbeae59219d36b0aea (patch) | |
tree | bf6b9a1a5fb1db7d8e8688438f422ea7da48220c /debian/apt.cron.daily | |
parent | 1f31762e69fd52fc67306d4b8af98c4e4519e2e4 (diff) |
* debian/apt.cron.daily:
- add apt-key net-update to the nightly cron job
Diffstat (limited to 'debian/apt.cron.daily')
-rw-r--r-- | debian/apt.cron.daily | 3 |
1 files changed, 3 insertions, 0 deletions
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 |