diff options
-rw-r--r-- | urpm.pm | 2 | ||||
-rwxr-xr-x | urpmi | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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; } @@ -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. |