diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2007-01-08 11:19:32 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2007-01-08 11:19:32 +0100 |
commit | d731f9c574138a9cb31c586a8f1e7d7181a44456 (patch) | |
tree | 0fb6decdd115271b40df07843dfce5039aa7a342 /doc/examples | |
parent | ef1e6d8822bb34527bba5d2318b5768013efd010 (diff) |
* apt-pkg/init.cc:
- added Dir::State::Mirrors
* doc/examples/configure-index:
- added Acquire::mirror::RefreshInterval
* methods/mirror.{cc,h}:
- download the mirror file into Dir::State::Mirrors
- added RefreshInterval option to not ask for the mirror file too often
Diffstat (limited to 'doc/examples')
-rw-r--r-- | doc/examples/configure-index | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/examples/configure-index b/doc/examples/configure-index index 0f0abc30c..cb20d767b 100644 --- a/doc/examples/configure-index +++ b/doc/examples/configure-index @@ -160,6 +160,11 @@ Acquire { Options {"--ignore-time-conflict";} // not very usefull on a normal system }; + + mirror + { + RefreshInterval "360"; // refresh interval in minutes + }; }; // Directory layout @@ -258,9 +263,9 @@ Debug Acquire::Ftp "false"; // Show ftp command traffic Acquire::Http "false"; // Show http command traffic Acquire::gpgv "false"; // Show the gpgv traffic + Acquire::Mirror "false"; // Show debugging of the mirror method aptcdrom "false"; // Show found package files IdentCdrom "false"; - } /* Whatever you do, do not use this configuration file!! Take out ONLY |