summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm1
1 files changed, 1 insertions, 0 deletions
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]);