aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-09-07 03:25:15 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-09-12 23:11:58 +0200
commit31a29814bb63c98954fbe598d0e518d92f7d61e7 (patch)
treee39ef193cb0b19a1866d239c3e334c8e0bc28582
parent4d55f7d38e4dad7ad214266d3a5190313d1e1714 (diff)
downloadperl-URPM-31a29814bb63c98954fbe598d0e518d92f7d61e7.tar
perl-URPM-31a29814bb63c98954fbe598d0e518d92f7d61e7.tar.gz
perl-URPM-31a29814bb63c98954fbe598d0e518d92f7d61e7.tar.bz2
perl-URPM-31a29814bb63c98954fbe598d0e518d92f7d61e7.tar.xz
perl-URPM-31a29814bb63c98954fbe598d0e518d92f7d61e7.zip
{suggested} is renamed {recommended} in state
Veuillez saisir le message de validation pour vos modifications. Les lignes
-rw-r--r--NEWS1
-rw-r--r--URPM/Resolve.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 3ab18aa..d01eff7 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,7 @@
synthesis
- rename *suggests* subs as *recommends*
- rename "no_suggests" option as "no_recommends"
+- {suggested} is renamed {recommended} in state
Version 4.31 - 27 June 2014
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index 805bb24..0717126 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -1137,7 +1137,7 @@ sub resolve_requested_recommends {
my %new_requested = map { $_ => undef } keys %recommends;
my @new_selected = resolve_requested__no_recommends_($urpm, $db, $state, \%new_requested, %options);
- $state->{selected}{$_->id}{suggested} = 1 foreach @new_selected;
+ $state->{selected}{$_->id}{recommended} = 1 foreach @new_selected;
push @$selected, @new_selected;
push @todo, @new_selected;
}