From cea22e6dace99bad88ffdf988a24c514551d9e42 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 22 Mar 2007 13:04:11 +0000 Subject: (easy_add_callback) display the right arch when selecting ia32 media on x86_64 (side effect of #28409) --- Rpmdrake/edit_urpm_sources.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Rpmdrake') diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm index 73bd2769..683946f4 100755 --- a/Rpmdrake/edit_urpm_sources.pm +++ b/Rpmdrake/edit_urpm_sources.pm @@ -90,6 +90,9 @@ to do this in two steps.)"), ), yesno => 1, text => { yes => N("Distribution sources"), no => N("Official updates") }, ) : 1; + my $distro = $rpmdrake::mandrake_release; + my $real_arch = arch(); + $distro =~ s/$real_arch/$arch/; my ($mirror) = choose_mirror(message => N("This will attempt to install all official sources corresponding to your distribution (%s). @@ -97,7 +100,7 @@ distribution (%s). I need to contact the Mandriva website to get the mirror list. Please check that your network is currently running. -Is it ok to continue?", $rpmdrake::mandrake_release), +Is it ok to continue?", $distro), want_base_distro => $want_base_distro, transient => $::main_window, arch => $arch, -- cgit v1.2.1