summaryrefslogtreecommitdiff
path: root/doc/examples
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2007-01-08 11:19:32 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2007-01-08 11:19:32 +0100
commitd731f9c574138a9cb31c586a8f1e7d7181a44456 (patch)
tree0fb6decdd115271b40df07843dfce5039aa7a342 /doc/examples
parentef1e6d8822bb34527bba5d2318b5768013efd010 (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-index7
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