summaryrefslogtreecommitdiffstats
path: root/perl-install/install/pkgs.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-08-11 15:53:34 +0000
committerThierry Vignaud <tv@mandriva.org>2009-08-11 15:53:34 +0000
commit4a10f63f1f161af77762eeeab60ad4b145a17b29 (patch)
tree7b487323ea4c68712dc7c52d19272eafca31bbe5 /perl-install/install/pkgs.pm
parentb7e70f713e4f3ac374820ef380f95892abbf50fc (diff)
downloaddrakx-4a10f63f1f161af77762eeeab60ad4b145a17b29.tar
drakx-4a10f63f1f161af77762eeeab60ad4b145a17b29.tar.gz
drakx-4a10f63f1f161af77762eeeab60ad4b145a17b29.tar.bz2
drakx-4a10f63f1f161af77762eeeab60ad4b145a17b29.tar.xz
drakx-4a10f63f1f161af77762eeeab60ad4b145a17b29.zip
(install) prevent urpmi messages from garbaging text installer (#50776)
(needs urpmi > 6.26.1)
Diffstat (limited to 'perl-install/install/pkgs.pm')
-rw-r--r--perl-install/install/pkgs.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm
index 4d72a761e..39dc0cc7c 100644
--- a/perl-install/install/pkgs.pm
+++ b/perl-install/install/pkgs.pm
@@ -684,6 +684,10 @@ sub install {
URPM::add_macro(join(' ', '__dbi_cdb', URPM::expand('%__dbi_cdb'), 'nofsync'));
my $LOG = _openInstallLog();
+ $packages->{log} = $packages->{info} = $packages->{print} = sub {
+ print $LOG "$_[0]\n";
+ };
+
#- do not modify/translate the message used with installCallback since
#- these are keys during progressing installation, or change in other
#- place (install::steps_gtk.pm,...).