summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-10-15 11:00:35 +0000
committerThierry Vignaud <tv@mandriva.org>2009-10-15 11:00:35 +0000
commitc37929b7de7fdbebe66e822d03d286331df0dd33 (patch)
tree0e4b4780ba84da1e302edc56cdb09e59733d5520
parentcdef469c26c5a118f1793c50fdb72278fc32370b (diff)
downloadurpmi-c37929b7de7fdbebe66e822d03d286331df0dd33.tar
urpmi-c37929b7de7fdbebe66e822d03d286331df0dd33.tar.gz
urpmi-c37929b7de7fdbebe66e822d03d286331df0dd33.tar.bz2
urpmi-c37929b7de7fdbebe66e822d03d286331df0dd33.tar.xz
urpmi-c37929b7de7fdbebe66e822d03d286331df0dd33.zip
(install_logger) use urpm->{print} callback too
-rw-r--r--urpm/install.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/install.pm b/urpm/install.pm
index 2ff075ca..05b9248a 100644
--- a/urpm/install.pm
+++ b/urpm/install.pm
@@ -91,7 +91,7 @@ sub install_logger {
}
} elsif ($subtype eq 'stop') {
if ($urpm->{logger_progress} < $progress_size) {
- print '#' x ($progress_size - $urpm->{logger_progress}), "\n";
+ $urpm->{print}('#' x ($progress_size - $urpm->{logger_progress}));
$urpm->{logger_progress} = 0;
}
} elsif ($subtype eq 'progress') {