aboutsummaryrefslogtreecommitdiffstats
path: root/URPM
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-09-11 22:12:01 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-09-12 23:11:58 +0200
commitcca72cb27436072a38597fb16949f08698dccdf1 (patch)
treef6ee1a2a53c98bd2d65557a3c2fd3fcc279cf3c8 /URPM
parente0c350ab20e16e3de0c8bb00e930a0c974db33a3 (diff)
downloadperl-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')
-rw-r--r--URPM/Resolve.pm6
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};
});
}