Просмотр исходного кода

* debian/apt.cron.daily:
- run unattended-upgrades even if there was a error during
the apt-get update (LP: #676295)

Michael Vogt лет назад: 15
Родитель
Сommit
c996a75cab
2 измененных файлов с 4 добавлено и 1 удалено
  1. 1 1
      debian/apt.cron.daily
  2. 3 0
      debian/changelog

+ 1 - 1
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)"

+ 3 - 0
debian/changelog

@@ -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