diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-08-11 15:50:38 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-08-11 15:50:38 +0000 |
commit | 851d102e779e84d843a71b9f5a730be59b5e69c0 (patch) | |
tree | eb1aca2f5990431ae29e83c85402dd1411eadc99 /urpm.pm | |
parent | 67bbf4e2bcb1ece11f00d13845b08b35a46cbcb5 (diff) | |
download | urpmi-851d102e779e84d843a71b9f5a730be59b5e69c0.tar urpmi-851d102e779e84d843a71b9f5a730be59b5e69c0.tar.gz urpmi-851d102e779e84d843a71b9f5a730be59b5e69c0.tar.bz2 urpmi-851d102e779e84d843a71b9f5a730be59b5e69c0.tar.xz urpmi-851d102e779e84d843a71b9f5a730be59b5e69c0.zip |
(install,run) prevent garbaging text installer (#50776)
rationale: all prints in transaction/installation code now go through
a callback that redirects the output at install time
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -57,6 +57,7 @@ sub new { error => sub { printf STDERR "%s\n", $_[0] }, info => sub { printf "%s\n", $_[0] }, #- displayed unless --quiet log => sub { printf "%s\n", $_[0] }, #- displayed if --verbose + print => sub { printf "%s\n", $_[0] }, #- always displayed, enable to redirect output for eg: installer ui_msg => sub { # deprecated $self->{log}($_[0]); |