summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniele Sluijters <daenney@users.noreply.github.com>2015-04-22 15:34:53 +0200
committerDaniele Sluijters <daenney@users.noreply.github.com>2015-04-22 15:34:53 +0200
commit355e766457c8546f234758c0fa55e3f2c8f32b03 (patch)
treeb7dd63d16f9fd58ed070d91741ca7f6269ee3977 /templates
parentb6ca1665241485ce57d5be3131f8b0e987313695 (diff)
init: Turn size into a single value.
The `size` hash could only ever have the `max` key so it makes more sense to have this as a plain value. This also upgrades the dependency on stdlib to 4.6.0 since we're using the new `validate_integer` function.
Diffstat (limited to 'templates')
-rw-r--r--templates/periodic.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/periodic.erb b/templates/periodic.erb
index af6af7c..1ce615a 100644
--- a/templates/periodic.erb
+++ b/templates/periodic.erb
@@ -16,7 +16,7 @@ APT::Periodic::MinAge "<%= @_age['min'] %>";
# will not be deleted (0=disable). Usefull to prevent races
# and to keep backups of the packages for emergency.
#
-APT::Periodic::MaxSize "<%= @_size['max'] %>";
+APT::Periodic::MaxSize "<%= @size %>";
# - Set maximum size of the cache in MB (0=disable). If the cache
# is bigger, cached package files are deleted until the size
# requirement is met (the biggest packages will be deleted