aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/edit_urpm_sources.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-02-21 15:34:38 +0000
committerThierry Vignaud <tv@mandriva.org>2008-02-21 15:34:38 +0000
commitb67e574587f019c8eebfec2159edb0109fe5791f (patch)
treec356e8ea729e7f0fd730b37f9b0889bc9adf16bc /Rpmdrake/edit_urpm_sources.pm
parentde813e376d686cf4ec7a1c4324517a5e763a394e (diff)
downloadrpmdrake-b67e574587f019c8eebfec2159edb0109fe5791f.tar
rpmdrake-b67e574587f019c8eebfec2159edb0109fe5791f.tar.gz
rpmdrake-b67e574587f019c8eebfec2159edb0109fe5791f.tar.bz2
rpmdrake-b67e574587f019c8eebfec2159edb0109fe5791f.tar.xz
rpmdrake-b67e574587f019c8eebfec2159edb0109fe5791f.zip
(choose_mirror,easy_add_callback,mirrors) drop arch choice
Diffstat (limited to 'Rpmdrake/edit_urpm_sources.pm')
-rw-r--r--Rpmdrake/edit_urpm_sources.pm10
1 files changed, 0 insertions, 10 deletions
diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm
index fc8768e5..9931f817 100644
--- a/Rpmdrake/edit_urpm_sources.pm
+++ b/Rpmdrake/edit_urpm_sources.pm
@@ -110,8 +110,6 @@ sub easy_add_callback() {
# when called on early init by rpmdrake
$urpm ||= fast_open_urpmi_db();
- my $arch = arch();
- $arch = 'i586' if $arch =~ /^i.86$/;
#- cooker and community don't have update sources
my $want_base_distro = distro_type(0) eq 'updates' ? interactive_msg(
N("Choose media type"),
@@ -122,16 +120,9 @@ repositories, giving you access to more software than can fit on the Mandriva
discs. Please choose whether to configure update sources only, or the full set
of sources."),
transient => $::main_window,
- if_($arch eq 'x86_64', widget => gtknew('HBox', children => [
- 0, gtknew('Label', text => "Architecture: "),
- 1, gtknew('ComboBox', text_ref => \$arch, list => [ arch(), 'i586' ]),
- ]),
- ),
yesno => 1, text => { yes => N("Full set of sources"), no => N("Update sources only") },
) : 1;
my $distro = $rpmdrake::mandrake_release;
- my $real_arch = arch();
- $distro =~ s/$real_arch/$arch/;
my ($mirror) = choose_mirror($urpm, message =>
N("This will attempt to install all official sources corresponding to your
distribution (%s).
@@ -142,7 +133,6 @@ Please check that your network is currently running.
Is it ok to continue?", $distro),
want_base_distro => $want_base_distro,
transient => $::main_window,
- 'arch' => $arch,
) or return 0;
ref $mirror or return;
my $wait = wait_msg(N("Please wait, adding media..."));