diff options
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/select.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/urpm/select.pm b/urpm/select.pm index 353451c6..21cd96e6 100644 --- a/urpm/select.pm +++ b/urpm/select.pm @@ -156,10 +156,11 @@ sub _search_packages { push @found, $pack; push @{$found{$v}}, $id; } + next if !$options{caseinsensitive}; if ($pack =~ /$qv/i) { next if member($pack, @found); push @found, $pack; - push @{$foundi{$v}}, $id if !$options{caseinsensitive}; + push @{$foundi{$v}}, $id; } } } |