diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-09-11 22:12:01 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-09-12 23:11:58 +0200 |
commit | cca72cb27436072a38597fb16949f08698dccdf1 (patch) | |
tree | f6ee1a2a53c98bd2d65557a3c2fd3fcc279cf3c8 /URPM/Resolve.pm | |
parent | e0c350ab20e16e3de0c8bb00e930a0c974db33a3 (diff) | |
download | perl-URPM-cca72cb27436072a38597fb16949f08698dccdf1.tar perl-URPM-cca72cb27436072a38597fb16949f08698dccdf1.tar.gz perl-URPM-cca72cb27436072a38597fb16949f08698dccdf1.tar.bz2 perl-URPM-cca72cb27436072a38597fb16949f08698dccdf1.tar.xz perl-URPM-cca72cb27436072a38597fb16949f08698dccdf1.zip |
rename a variable
Diffstat (limited to 'URPM/Resolve.pm')
-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}; }); } |