summaryrefslogtreecommitdiffstats
path: root/perl-install/install
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
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')
-rw-r--r--perl-install/install/NEWS2
-rw-r--r--perl-install/install/steps_interactive.pm3
2 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 4549e6853..1f12ac33b 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,5 @@
+- log (g|)urpmi.addmedia and (g|)urpmi output (#47107)
+
Version 12.21 - 30 March 2009
- fix writing urpmi.cfg as cdrom:// for NFS (#49316)
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();