diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2009-12-18 16:53:22 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2009-12-18 16:53:22 +0100 |
commit | c55451ff2e5a098a6431dfd1be322f7113a86002 (patch) | |
tree | 4369cdb8cc209b1e44f81e978684992a68cd5dbc /debian/apt.cron.daily | |
parent | a0895a74fe95997a5d75e5b54c95afb9594554f6 (diff) | |
parent | d0cf6da810b2ad898c0eb75ac8815ab5e56cf015 (diff) |
merge from the debian-sid branch
Diffstat (limited to 'debian/apt.cron.daily')
-rw-r--r-- | debian/apt.cron.daily | 6 |
1 files changed, 5 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 |