From cca72cb27436072a38597fb16949f08698dccdf1 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 11 Sep 2014 22:12:01 +0200 Subject: rename a variable --- URPM/Resolve.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'URPM') 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}; }); } -- cgit v1.2.1