summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2005-03-15 16:30:24 +0000
committerMichael Vogt <michael.vogt@ubuntu.com>2005-03-15 16:30:24 +0000
commit87ddfb96f760c0e14f205667c9d580b4b274cc5c (patch)
tree375196705b18509f342c0ca8a215e5f564bb5455 /debian
parent1d85c6f4bfed97c9caf46aad443790a9b434fd20 (diff)
* run check_size_constraints independent of AUTOCLEAN (thanks Matt)
Diffstat (limited to 'debian')
-rw-r--r--debian/apt.cron.daily5
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/apt.cron.daily b/debian/apt.cron.daily
index f3a1c736d..466028ee5 100644
--- a/debian/apt.cron.daily
+++ b/debian/apt.cron.daily
@@ -80,6 +80,10 @@ check_size_constraints()
fi
}
+
+# check cache size first
+check_size_constraints
+
UpdateInterval=0
DownloadUpgradeableInterval=0
eval $(apt-config shell UpdateInterval APT::Periodic::Update-Package-Lists DownloadUpgradeableInterval APT::Periodic::Download-Upgradeable-Packages)
@@ -117,6 +121,5 @@ fi
AUTOCLEAN_STAMP=/var/lib/apt/periodic/autoclean-stamp
if check_stamp $AUTOCLEAN_STAMP $AutocleanInterval; then
apt-get -qq autoclean
- check_size_constraints
update_stamp $AUTOCLEAN_STAMP
fi