diff options
author | Francois Pons <fpons@mandriva.com> | 2003-03-10 17:13:40 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2003-03-10 17:13:40 +0000 |
commit | 6e273cc7705f9d897adcf9aca05fad4b7409d3e8 (patch) | |
tree | eb296cb8f421e769a153639a038c11a35d0e6fe4 /urpmf | |
parent | 5bd63030f44e02e51ed139a93f87f568424ddb2b (diff) | |
download | urpmi-6e273cc7705f9d897adcf9aca05fad4b7409d3e8.tar urpmi-6e273cc7705f9d897adcf9aca05fad4b7409d3e8.tar.gz urpmi-6e273cc7705f9d897adcf9aca05fad4b7409d3e8.tar.bz2 urpmi-6e273cc7705f9d897adcf9aca05fad4b7409d3e8.tar.xz urpmi-6e273cc7705f9d897adcf9aca05fad4b7409d3e8.zip |
4.2-31mdk
Diffstat (limited to 'urpmf')
-rwxr-xr-x | urpmf | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -62,7 +62,7 @@ my $update = 0; my $media = ''; my $synthesis = ''; my $verbose = 0; -my $quiet = undef; +my $quiet; my $pattern = ''; my $full = ''; my %params; @@ -97,7 +97,7 @@ while (defined($_ = shift @ARGV)) { my $urpm = new urpm; $verbose or $urpm->{log} = sub {}; -for (scalar(keys %params)) { +foreach (scalar(keys %params)) { $_ eq 0 and do { defined $quiet or $quiet = 1; $params{files} = 1 }; $_ eq 1 and do { defined $quiet or $quiet = 1 }; $_ > 1 and do { defined $quiet or $quiet = 0 }; |