]> git.saurik.com Git - apt.git/blobdiff - debian/apt.cron.daily
* Merged from the mvo branch
[apt.git] / debian / apt.cron.daily
index 9afc553ae31a145e253828eff671bfd2a6ffc549..aa7b188860676cb3f44a13ba098ca7fc305133d5 100644 (file)
@@ -417,11 +417,15 @@ 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 ] &&
    [ $AutocleanInterval -eq 0 ]; then
+
+    # check cache size
+    check_size_constraints
+
     exit 0
 fi