summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-09-22 15:10:33 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-09-22 15:10:33 +0000
commit24aa6a3f929b169380d26b49a8987a91ffdfbdd7 (patch)
tree9155817d72b18eed5bccf2faa5aeeca47c2747f7 /urpm.pm
parent04e33808f89abcccba8556b6058c526626c26e22 (diff)
downloadurpmi-24aa6a3f929b169380d26b49a8987a91ffdfbdd7.tar
urpmi-24aa6a3f929b169380d26b49a8987a91ffdfbdd7.tar.gz
urpmi-24aa6a3f929b169380d26b49a8987a91ffdfbdd7.tar.bz2
urpmi-24aa6a3f929b169380d26b49a8987a91ffdfbdd7.tar.xz
urpmi-24aa6a3f929b169380d26b49a8987a91ffdfbdd7.zip
create urpm::mirrors::try_probe() as a alternative solution to
urpm::mirrors::try() which ensure wrong path given by the user doesn't lead to mirrors being all blacklisted
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm.pm b/urpm.pm
index 2e6ff00e..d98fac32 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -34,6 +34,7 @@ sub default_options {
'post-clean' => 1,
'xml-info' => 'on-demand',
'max-round-robin-tries' => 5,
+ 'max-round-robin-probes' => 2,
'days-between-mirrorlist-update' => 5,
'nb-of-new-unrequested-pkgs-between-auto-select-orphans-check' => 10,
};