summaryrefslogtreecommitdiffstats
path: root/urpmi
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-01 15:44:40 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-01 15:44:40 +0000
commite6d6502758210991a8fff3159b62f386138f6477 (patch)
tree50a33822b47b59db949174e8dd12abe3b58d0122 /urpmi
parent348de183f06992ca578503bdba9ce28f15f6ba76 (diff)
downloadurpmi-e6d6502758210991a8fff3159b62f386138f6477.tar
urpmi-e6d6502758210991a8fff3159b62f386138f6477.tar.gz
urpmi-e6d6502758210991a8fff3159b62f386138f6477.tar.bz2
urpmi-e6d6502758210991a8fff3159b62f386138f6477.tar.xz
urpmi-e6d6502758210991a8fff3159b62f386138f6477.zip
factorize handling of -q|--quiet and -v|--verbose for all tools
this fixes -q option not handled by urpmi.update (#31890)
Diffstat (limited to 'urpmi')
-rwxr-xr-xurpmi3
1 files changed, 0 insertions, 3 deletions
diff --git a/urpmi b/urpmi
index 0a776a57..b0991ac0 100755
--- a/urpmi
+++ b/urpmi
@@ -317,9 +317,6 @@ if ($logfile && !$INC{"Devel/Trace.pm"}) {
select STDERR; $| = 1;
select STDOUT; $| = 1;
-#- log is only for verbose runs.
-$options{verbose} > 0 or $urpm->{log} = sub {};
-
if (exists $urpm->{options}{'priority-upgrade'} && $urpm->{options}{'priority-upgrade'} eq '') {
# we were run with --no-priority-upgrade (we were just restarted.)
# so, no need to update the media again