From b5fd62f19464a8bbdf89e48e8067c80acb27f2a8 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 12 Sep 2007 14:38:51 +0000 Subject: replacing {backtrack}{closure} with {closure} since it looks like it was a typo --- URPM/Resolve.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'URPM') diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm index 3040859..025de72 100644 --- a/URPM/Resolve.pm +++ b/URPM/Resolve.pm @@ -444,7 +444,7 @@ sub backtrack_selected { foreach (@l) { #- disable all these packages in order to avoid selecting them again. $_->fullname eq $dep->{from}->fullname or - $state->{rejected}{$_->fullname}{backtrack}{closure}{$dep->{from}->fullname} = undef; + $state->{rejected}{$_->fullname}{closure}{$dep->{from}->fullname} ||= undef; } } #- the package is already rejected, we assume we can add another reason here! @@ -491,7 +491,7 @@ sub backtrack_selected_psel_keep { foreach (@l) { #- disable all these packages in order to avoid selecting them again. $_->fullname eq $psel->fullname or - $state->{rejected}{$_->fullname}{backtrack}{closure}{$psel->fullname} = undef; + $state->{rejected}{$_->fullname}{closure}{$psel->fullname} ||= undef; } } #- to simplify, a reference to list or standalone elements may be set in keep. -- cgit v1.2.1