aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-04-03 14:53:56 +0000
committerThierry Vignaud <tv@mandriva.org>2007-04-03 14:53:56 +0000
commit66999e19537af28d0bd21aee3e762663edca82ac (patch)
treec7fb7f69f1fe53b3fb9f2b8e8c8738f761f62625 /Rpmdrake
parentd18b388714eeda3857c18d0194f305d55922820b (diff)
downloadrpmdrake-66999e19537af28d0bd21aee3e762663edca82ac.tar
rpmdrake-66999e19537af28d0bd21aee3e762663edca82ac.tar.gz
rpmdrake-66999e19537af28d0bd21aee3e762663edca82ac.tar.bz2
rpmdrake-66999e19537af28d0bd21aee3e762663edca82ac.tar.xz
rpmdrake-66999e19537af28d0bd21aee3e762663edca82ac.zip
(easy_add_callback) fix adding official media on ia32 (#30059)
Diffstat (limited to 'Rpmdrake')
-rwxr-xr-xRpmdrake/edit_urpm_sources.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm
index 683946f4..3c0d52e9 100755
--- a/Rpmdrake/edit_urpm_sources.pm
+++ b/Rpmdrake/edit_urpm_sources.pm
@@ -73,6 +73,7 @@ sub easy_add_callback() {
#- cooker and community don't have update sources
$urpm ||= urpm->new; # when called on early init by rpmdrake
my $arch = arch();
+ $arch = 'i586' if $arch =~ /^i.86$/;
my $want_base_distro = distro_type(0) eq 'updates' ? interactive_msg(
N("Choose media type"),
N("This step enables you to add sources from a Mandriva Linux web or FTP mirror.