summaryrefslogtreecommitdiffstats
path: root/perl-install/any.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/any.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/any.pm')
-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 edcb64f77..768005993 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -873,7 +873,8 @@ sub urpmi_add_all_media {
log::l("URPMI_ADDMEDIA_REASON $reason");
local $ENV{URPMI_ADDMEDIA_REASON} = $reason;
- run_program::rooted($::prefix, $binary, @options);
+ my $log_file = '/root/drakx/updates.log';
+ run_program::rooted($::prefix, $binary, '>>', $log_file, '2>>', $log_file, @options);
}
sub autologin {