summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpm.pm2
-rwxr-xr-xurpmi2
2 files changed, 2 insertions, 2 deletions
diff --git a/urpm.pm b/urpm.pm
index a76fcbd1..bbedfbda 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -3030,7 +3030,7 @@ sub install {
for ($pkg->files) { /\bREADME(\.$trtype)?\.urpmi$/ and $readmes{$_} = $fullname }
close $fh if defined $fh;
};
- if (scalar keys %$install || scalar keys %$upgrade) {
+ if ($::verbose >= 0 && (scalar keys %$install || scalar keys %$upgrade)) {
$options{callback_inst} ||= \&install_logger;
$options{callback_trans} ||= \&install_logger;
}
diff --git a/urpmi b/urpmi
index 0fb9954b..1ef41c1d 100755
--- a/urpmi
+++ b/urpmi
@@ -329,7 +329,7 @@ if (exists $urpm->{options}{'priority-upgrade'} && $urpm->{options}{'priority-up
}
if ($auto_update && !$bug && !$env) {
#- For translators : there are several media here
- print N("Updating media..."), "\n";
+ $urpm->{log}(N("Updating media...\n"));
#- FIXME we need to configure it twice; otherwise
#- some settings are lost (like the skiplist) for
#- some reason.