summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2009-11-28 03:46:39 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2009-11-28 03:46:39 +0100
commit2c4b9b0b9e504a9bdfdcb8080bbc3587c11de299 (patch)
tree53f1d78fe392b1472fd621892f96b45ada1b8b65
parent9209ec4701d9f6c21d4ae9ebb648d94a1f32665a (diff)
check cache size even if we do nothing else otherwise in apt.cron.daily,
thanks Francesco Poli for patch(s) and patience! (Closes: #459344)
-rw-r--r--debian/apt.cron.daily6
-rw-r--r--debian/changelog3
2 files changed, 8 insertions, 1 deletions
diff --git a/debian/apt.cron.daily b/debian/apt.cron.daily
index b6099ee75..e59b05ee4 100644
--- a/debian/apt.cron.daily
+++ b/debian/apt.cron.daily
@@ -401,12 +401,16 @@ eval $(apt-config shell BackupArchiveInterval APT::Periodic::BackupArchiveInterv
Debdelta=1
eval $(apt-config shell Debdelta APT::Periodic::Download-Upgradeable-Packages-Debdelta)
-# check if we actually have to do anything
+# check if we actually have to do anything that requires locking the cache
if [ $UpdateInterval -eq 0 ] &&
[ $DownloadUpgradeableInterval -eq 0 ] &&
[ $UnattendedUpgradeInterval -eq 0 ] &&
[ $BackupArchiveInterval -eq 0 ] &&
[ $AutocleanInterval -eq 0 ]; then
+
+ # check cache size
+ check_size_constraints
+
exit 0
fi
diff --git a/debian/changelog b/debian/changelog
index 85ee97713..03411832c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -85,6 +85,9 @@ apt (0.7.25) UNRELEASED; urgency=low
Patch by Christoph Goehre, thanks! (Closes: #463260)
* apt-pkg/deb/debsrcrecords.cc:
- use "diff" filetype for .debian.tar.* files (Closes: #554898)
+ * debian/apt.cron.daily:
+ - check cache size even if we do nothing else otherwise, thanks
+ Francesco Poli for patch(s) and patience! (Closes: #459344)
[ Chris Leick ]
* doc/ various manpages: