diff options
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/select.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm/select.pm b/urpm/select.pm index bb5302c6..7317aab2 100644 --- a/urpm/select.pm +++ b/urpm/select.pm @@ -134,7 +134,7 @@ sub _search_packages { my $pack_ra = $pack_name . '-' . $pkg->version; my $pack_a = "$pack_ra-" . $pkg->release; my $pack = "$pack_a." . $pkg->arch; - unless ($options{fuzzy}) { + if (!$options{fuzzy}) { if ($pack eq $v) { $exact{$v} = $id; next; @@ -147,7 +147,7 @@ sub _search_packages { } } $pack =~ /$qv/ and push @{$found{$v}}, $id; - $pack =~ /$qv/i and push @{$foundi{$v}}, $id unless $options{caseinsensitive}; + $pack =~ /$qv/i and push @{$foundi{$v}}, $id if !$options{caseinsensitive}; } } |