summaryrefslogtreecommitdiff
path: root/debian/apt.cron.daily
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-04-07 11:06:08 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2011-04-07 11:06:08 +0200
commit3e479758e5314d82f025c8d831389cb857c28876 (patch)
tree91f25db449110255d717b9d25b351f683b545d66 /debian/apt.cron.daily
parente838068b8da7dc1e1b67c6e6ed6d33a496ab34b7 (diff)
parentc996a75cabffa5d3e5bc610d9f1097c2edae606f (diff)
* debian/apt.cron.daily:
- run unattended-upgrades even if there was a error during the apt-get update (LP: #676295)
Diffstat (limited to 'debian/apt.cron.daily')
-rw-r--r--debian/apt.cron.daily2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/apt.cron.daily b/debian/apt.cron.daily
index 8c69a389a..9048ca7fe 100644
--- a/debian/apt.cron.daily
+++ b/debian/apt.cron.daily
@@ -478,7 +478,7 @@ fi
# auto upgrade all upgradeable packages
UPGRADE_STAMP=/var/lib/apt/periodic/upgrade-stamp
-if [ $UPDATED -eq 1 ] && which unattended-upgrade >/dev/null && check_stamp $UPGRADE_STAMP $UnattendedUpgradeInterval; then
+if which unattended-upgrade >/dev/null && check_stamp $UPGRADE_STAMP $UnattendedUpgradeInterval; then
if unattended-upgrade $XUUPOPT; then
update_stamp $UPGRADE_STAMP
debug_echo "unattended-upgrade (success)"