diff options
Diffstat (limited to 'URPM')
-rw-r--r-- | URPM/Resolve.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm index 6a4834a..2f580ae 100644 --- a/URPM/Resolve.pm +++ b/URPM/Resolve.pm @@ -1125,9 +1125,9 @@ sub resolve_requested_recommends { # workaround: if you do "urpmi virtual_pkg" and one virtual_pkg is already installed, # it will ask anyway for the other choices - foreach my $suggest (keys %recommends) { - $db->traverse_tag_find('whatprovides', $suggest, sub { - delete $recommends{$suggest}; + foreach my $recommend (keys %recommends) { + $db->traverse_tag_find('whatprovides', $recommend, sub { + delete $recommends{$recommend}; }); } |