diff options
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r-- | rpmdrake.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm index 53c2bca6..afa4c599 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -499,7 +499,7 @@ sub compat_arch_for_updates($) { } sub mirrors { - my ($urpm, $want_base_distro, $o_arch) = @_; + my ($urpm, $want_base_distro) = @_; my $cachedir = $urpm->{cachedir} || '/root'; use mirror; mirror::register_downloader(sub { @@ -513,7 +513,7 @@ sub mirrors { return cat_($file); }); my @mirrors = @{ mirror::list(common::parse_LDAP_namespace_structure(cat_('/etc/product.id')), - ($want_base_distro ? 'distrib' : 'updates'), $o_arch) || [] }; + ($want_base_distro ? 'distrib' : 'updates')) || [] }; require timezone; my $tz = ${timezone::read()}{timezone}; foreach my $mirror (@mirrors) { @@ -549,7 +549,7 @@ Is it ok to continue?"); : N("Please wait, downloading mirror addresses from the Mandriva website.")), @transient_options ); - my @mirrors = eval { mirrors($urpm, $options{want_base_distro}, $options{arch}) }; + my @mirrors = eval { mirrors($urpm, $options{want_base_distro}) }; my $error = $@; remove_wait_msg($wait); if ($error) { |