aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-09-19 09:54:59 +0000
committerThierry Vignaud <tv@mandriva.org>2006-09-19 09:54:59 +0000
commit998fa590f4156b391f01c8bf31bcfff42ab2d2b1 (patch)
tree32d4718ea0258a92b64e103c734e442ce593165a /rpmdrake.pm
parentff70ea14b4e8d6cfba9f8c93c17f65f22fb9ae8f (diff)
downloadrpmdrake-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
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm2
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) {