summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-05-15 17:27:32 +0000
committerThierry Vignaud <tv@mageia.org>2012-05-15 17:27:32 +0000
commita74ae1862f5f85f76681288bee6e54558cba73b4 (patch)
treeb35c3f681b8bdc50516317a8a412b1494c712311 /perl-install
parent498940fb9eef4eae455cbcf2588cbc704965122c (diff)
downloaddrakx-a74ae1862f5f85f76681288bee6e54558cba73b4.tar
drakx-a74ae1862f5f85f76681288bee6e54558cba73b4.tar.gz
drakx-a74ae1862f5f85f76681288bee6e54558cba73b4.tar.bz2
drakx-a74ae1862f5f85f76681288bee6e54558cba73b4.tar.xz
drakx-a74ae1862f5f85f76681288bee6e54558cba73b4.zip
(urpmi_add_all_media) fix previous commit: display wait message until the end
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/any.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 3e774e738..76ad7509b 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -976,8 +976,9 @@ sub urpmi_add_all_media {
local $ENV{URPMI_ADDMEDIA_REASON} = $reason;
my $log_file = '/root/drakx/updates.log';
+ my $val = run_program::rooted($::prefix, $binary, '>>', $log_file, '2>>', $log_file, @options);
undef $wait;
- run_program::rooted($::prefix, $binary, '>>', $log_file, '2>>', $log_file, @options);
+ $val;
}
sub autologin {