diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-09-19 09:54:59 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-09-19 09:54:59 +0000 |
commit | 998fa590f4156b391f01c8bf31bcfff42ab2d2b1 (patch) | |
tree | 32d4718ea0258a92b64e103c734e442ce593165a | |
parent | ff70ea14b4e8d6cfba9f8c93c17f65f22fb9ae8f (diff) | |
download | rpmdrake-998fa590f4156b391f01c8bf31bcfff42ab2d2b1.tar rpmdrake-998fa590f4156b391f01c8bf31bcfff42ab2d2b1.tar.gz rpmdrake-998fa590f4156b391f01c8bf31bcfff42ab2d2b1.tar.bz2 rpmdrake-998fa590f4156b391f01c8bf31bcfff42ab2d2b1.tar.xz rpmdrake-998fa590f4156b391f01c8bf31bcfff42ab2d2b1.zip |
(mirrors) for official releases, use new mirror API to ask for only update or distrib medias
-rw-r--r-- | rpmdrake.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm index 8170694d..833221b6 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -496,7 +496,7 @@ sub mirrors { $res and do { c::set_tagged_utf8($res); die $res }; return cat_($file); }); - my @mirrors = @{ mirror::list(common::parse_LDAP_namespace_structure(cat_('/etc/product.id')), 'all') }; + my @mirrors = @{ mirror::list(common::parse_LDAP_namespace_structure(cat_('/etc/product.id')), $want_base_distro ? 'distrib' : 'updates') }; require timezone; my $tz = ${timezone::read()}{timezone}; foreach my $mirror (@mirrors) { |