From 851d102e779e84d843a71b9f5a730be59b5e69c0 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 11 Aug 2009 15:50:38 +0000 Subject: (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 --- urpm.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'urpm.pm') diff --git a/urpm.pm b/urpm.pm index cf62fe5e..848074bb 100644 --- a/urpm.pm +++ b/urpm.pm @@ -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]); -- cgit v1.2.1