From: Michael Vogt <michael.vogt@ubuntu.com>
Date: Tue, 11 Sep 2007 19:46:51 +0000 (+0200)
Subject: * debian/apt.cron.daily:
X-Git-Tag: 0.7.21~236
X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/de15fbae15a0d44457dd998a5804c62bf0cc3d7d

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

diff --git a/debian/apt.cron.daily b/debian/apt.cron.daily
index 778e3cefe..34d6b164f 100644
--- a/debian/apt.cron.daily
+++ b/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
diff --git a/debian/changelog b/debian/changelog
index 69721ebc8..dfd9cc6bb 100644
--- a/debian/changelog
+++ b/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.