X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/366cff695ae0a228300817e278c7ddf62ca52c34..188c9558929fe6732f799a31f6005532022b2b94:/debian/apt.cron.daily diff --git a/debian/apt.cron.daily b/debian/apt.cron.daily index 9afc553ae..aa7b18886 100644 --- a/debian/apt.cron.daily +++ b/debian/apt.cron.daily @@ -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