summaryrefslogtreecommitdiffstats
path: root/perl-install/install/steps_interactive.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-03-30 17:38:11 +0000
committerThierry Vignaud <tv@mandriva.org>2009-03-30 17:38:11 +0000
commit993298373dff165f46fe6a6c26e549da411239f9 (patch)
tree5ac6dd34c122954bc0d3cdab05af9cedad9accc4 /perl-install/install/steps_interactive.pm
parenta6e2a8d17f06ed3c54bb81475cc3bd5337b05e29 (diff)
downloaddrakx-993298373dff165f46fe6a6c26e549da411239f9.tar
drakx-993298373dff165f46fe6a6c26e549da411239f9.tar.gz
drakx-993298373dff165f46fe6a6c26e549da411239f9.tar.bz2
drakx-993298373dff165f46fe6a6c26e549da411239f9.tar.xz
drakx-993298373dff165f46fe6a6c26e549da411239f9.zip
(urpmi_add_all_media,installUpdates) log (g|)urpmi.addmedia and (g|)urpmi output (#47107)
Diffstat (limited to 'perl-install/install/steps_interactive.pm')
-rw-r--r--perl-install/install/steps_interactive.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install/steps_interactive.pm b/perl-install/install/steps_interactive.pm
index d43753420..d67a7a1c8 100644
--- a/perl-install/install/steps_interactive.pm
+++ b/perl-install/install/steps_interactive.pm
@@ -749,7 +749,8 @@ Do you want to install the updates?")),
install::pkgs::clean_rpmdb_shared_regions();
if (any::urpmi_add_all_media($o, $o->{previous_release})) {
my $binary = find { whereis_binary($_, $::prefix) } 'gurpmi2', 'urpmi' or return;
- run_program::rooted($::prefix, $binary, '--auto-select', '--update');
+ my $log_file = '/root/drakx/updates.log';
+ run_program::rooted($::prefix, $binary, '>>', $log_file, '2>>', $log_file, '--auto-select', '--update');
}
install::pkgs::clean_rpmdb_shared_regions();