HCoop
/
ntk
/
apt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87ddfb9
)
* check cache size after AUTOCLEAN was run (but independent)
author
Michael Vogt
<michael.vogt@ubuntu.com>
Tue, 15 Mar 2005 16:48:57 +0000
(16:48 +0000)
committer
Michael Vogt
<michael.vogt@ubuntu.com>
Tue, 15 Mar 2005 16:48:57 +0000
(16:48 +0000)
debian/apt.cron.daily
patch
|
blob
|
blame
|
history
diff --git
a/debian/apt.cron.daily
b/debian/apt.cron.daily
index
466028e
..
5b1c51e
100644
(file)
--- a/
debian/apt.cron.daily
+++ b/
debian/apt.cron.daily
@@
-81,9
+81,6
@@
check_size_constraints()
}
-# check cache size first
-check_size_constraints
-
UpdateInterval=0
DownloadUpgradeableInterval=0
eval $(apt-config shell UpdateInterval APT::Periodic::Update-Package-Lists DownloadUpgradeableInterval APT::Periodic::Download-Upgradeable-Packages)
@@
-123,3
+120,6
@@
if check_stamp $AUTOCLEAN_STAMP $AutocleanInterval; then
apt-get -qq autoclean
update_stamp $AUTOCLEAN_STAMP
fi
+
+# check cache size
+check_size_constraints