]> git.saurik.com Git - apt.git/commitdiff
* debian/apt.cron.daily:
authorMichael Vogt <michael.vogt@ubuntu.com>
Thu, 7 Apr 2011 09:03:40 +0000 (11:03 +0200)
committerMichael Vogt <michael.vogt@ubuntu.com>
Thu, 7 Apr 2011 09:03:40 +0000 (11:03 +0200)
  - run unattended-upgrades even if there was a error during
    the apt-get update (LP: #676295)

debian/apt.cron.daily
debian/changelog

index c61bfb9bb3cd0f7c885f6eca09f13b002d694be2..75986f5f5f52c6f60e61e44e1f09e080abadafc8 100644 (file)
@@ -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)"
index 98efce3afc16a9982741889ee493768b8251c78d..cbaa65748fbf07a2c773fd34dcd3a1856c0b0278 100644 (file)
@@ -9,6 +9,9 @@ apt (0.8.13.3) unstable; urgency=low
     - do not crash if the mirror file fails to download
   * apt-pkg/aptconfiguration.cc:
     - fix comparing for a empty string
+  * debian/apt.cron.daily:
+    - run unattended-upgrades even if there was a error during
+      the apt-get update (LP: #676295)
 
  -- Michael Vogt <michael.vogt@ubuntu.com>  Thu, 10 Mar 2011 15:56:54 +0100