aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-10-23 01:26:22 +0000
committerThierry Vignaud <tv@mandriva.org>2007-10-23 01:26:22 +0000
commitd4147891c7eeadc439fd6dd0641e09079c1c4aef (patch)
treeffd90c7c46040ec97b78750a2d2b2951481a9982 /rpmdrake.pm
parent13e9a1685563fad6dad2cb476032dec91aa100ae (diff)
downloadrpmdrake-d4147891c7eeadc439fd6dd0641e09079c1c4aef.tar
rpmdrake-d4147891c7eeadc439fd6dd0641e09079c1c4aef.tar.gz
rpmdrake-d4147891c7eeadc439fd6dd0641e09079c1c4aef.tar.bz2
rpmdrake-d4147891c7eeadc439fd6dd0641e09079c1c4aef.tar.xz
rpmdrake-d4147891c7eeadc439fd6dd0641e09079c1c4aef.zip
(mirrors) revert bogus commit r230982 ("no more sent 'updates'
requests") of 2007-10-08 that prevents to install only update media
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 212b15a7..6b5294eb 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -521,7 +521,7 @@ sub mirrors {
return cat_($file);
});
my @mirrors = @{ mirror::list(common::parse_LDAP_namespace_structure(cat_('/etc/product.id')),
- 'distrib', $o_arch) || [] };
+ ($want_base_distro ? 'distrib' : 'updates'), $o_arch) || [] };
require timezone;
my $tz = ${timezone::read()}{timezone};
foreach my $mirror (@mirrors) {