summaryrefslogtreecommitdiff
path: root/debian/apt.cron.daily
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-04-07 11:03:40 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2011-04-07 11:03:40 +0200
commitc996a75cabffa5d3e5bc610d9f1097c2edae606f (patch)
tree36407d727fe5d6364b2f2b74a0327f223463f712 /debian/apt.cron.daily
parentbdb3d92cd2d96909eecc5d972206dc761f278381 (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 c61bfb9bb..75986f5f5 100644
--- a/debian/apt.cron.daily
+++ b/debian/apt.cron.daily
@@ -466,7 +466,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)"