diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-02-28 16:06:27 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-02-28 16:06:27 +0000 |
commit | 2ac48e31e29158fea35fa7664c494592258405d7 (patch) | |
tree | fc03e6c3a68f98a9b2d25e518a3e7003b1c91200 | |
parent | 62ebea1df52c0808bd8ab7d31e0117e491252138 (diff) | |
download | urpmi-2ac48e31e29158fea35fa7664c494592258405d7.tar urpmi-2ac48e31e29158fea35fa7664c494592258405d7.tar.gz urpmi-2ac48e31e29158fea35fa7664c494592258405d7.tar.bz2 urpmi-2ac48e31e29158fea35fa7664c494592258405d7.tar.xz urpmi-2ac48e31e29158fea35fa7664c494592258405d7.zip |
Less verbosity with urpmi -q
-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. |