]> git.saurik.com Git - apt.git/commitdiff
check cache size even if we do nothing else otherwise in apt.cron.daily,
authorDavid Kalnischkies <kalnischkies@gmail.com>
Sat, 28 Nov 2009 02:46:39 +0000 (03:46 +0100)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Sat, 28 Nov 2009 02:46:39 +0000 (03:46 +0100)
thanks Francesco Poli for patch(s) and patience! (Closes: #459344)

debian/apt.cron.daily
debian/changelog

index b6099ee75aa30cd22b8e2c8dcf56a17aff7238ad..e59b05ee484534bb0d74bb59718f8cf7fdba1593 100644 (file)
@@ -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
 
index 85ee97713ad4155899cafb5c078388cb2b3df4ba..03411832ccc96fc11765fe1a8f85f4dfe126df85 100644 (file)
@@ -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: