From 848081d301fc9c565c3bc5e1e938811b04769406 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 1 Sep 2008 09:13:25 +0000 Subject: - if network access, configure urpmi with --mirrorlist --distrib, and install updates. This replaces the previous "Install Updates" step. - this calls gurpmi.addmedia/urpmi.addmedia and gurpmi2/urpmi in chroot - we do not allow anymore to choose which updates are going to be updated (ie choosePackagesTree is not used for this anymore) --- perl-install/any.pm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'perl-install/any.pm') diff --git a/perl-install/any.pm b/perl-install/any.pm index 123abbf3f..e63871c28 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -845,7 +845,13 @@ sub urpmi_add_all_media { #- configure urpmi media if network is up require network::tools; return if !network::tools::has_network_connection(); - my $_wait = $in->wait_message(N("Please wait"), N("Please wait, adding media...")); + my $wait; + if ($binary eq 'urpmi.addmedia') { + $wait = $in->wait_message(N("Please wait"), N("Please wait, adding media...")); + } elsif ($in->isa('interactive::gtk')) { + mygtk2::destroy_previous_popped_and_reuse_window(); + mygtk2::flush(); + } run_program::rooted($::prefix, $binary, '--distrib', '--mirrorlist', '$MIRRORLIST'); } -- cgit v1.2.1