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

* debian/apt.cron.daily:
- move unattended-upgrade before apt-get autoclean

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

+ 6 - 6
debian/apt.cron.daily

@@ -186,17 +186,17 @@ if check_stamp $DOWNLOAD_UPGRADEABLE_STAMP $DownloadUpgradeableInterval; then
     update_stamp $DOWNLOAD_UPGRADEABLE_STAMP
 fi
 
-AUTOCLEAN_STAMP=/var/lib/apt/periodic/autoclean-stamp
-if check_stamp $AUTOCLEAN_STAMP $AutocleanInterval; then
-    apt-get -qq autoclean
-    update_stamp $AUTOCLEAN_STAMP
-fi
-
 UPGRADE_STAMP=/var/lib/apt/periodic/upgrade-stamp
 if check_stamp $UPGRADE_STAMP $UnattendedUpgradeInterval; then
     unattended-upgrade
     update_stamp $UPGRADE_STAMP
 fi
 
+AUTOCLEAN_STAMP=/var/lib/apt/periodic/autoclean-stamp
+if check_stamp $AUTOCLEAN_STAMP $AutocleanInterval; then
+    apt-get -qq autoclean
+    update_stamp $AUTOCLEAN_STAMP
+fi
+
 # check cache size 
 check_size_constraints

+ 2 - 0
debian/changelog

@@ -26,6 +26,8 @@ apt (0.7.7) UNRELEASED; urgency=low
       communication to 1000 for the debtorrent backend
   * make apt build with g++ 4.3
   * fix missing SetExecClose() call when the status-fd is used
+  * debian/apt.cron.daily:
+    - move unattended-upgrade before apt-get autoclean
 
   [ Ian Jackson ]
   * dpkg-triggers: Deal properly with new package states.