diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-09-07 19:35:02 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-09-07 19:35:02 +0000 |
commit | 3b8810aa6559844b1f83e2c8965f591146ffc777 (patch) | |
tree | e061bca095b11112b184bc1f36abea6789b82c93 /URPM | |
parent | 946bdb1085f8528b6857ca0f6fca82fe580a10fe (diff) | |
download | perl-URPM-3b8810aa6559844b1f83e2c8965f591146ffc777.tar perl-URPM-3b8810aa6559844b1f83e2c8965f591146ffc777.tar.gz perl-URPM-3b8810aa6559844b1f83e2c8965f591146ffc777.tar.bz2 perl-URPM-3b8810aa6559844b1f83e2c8965f591146ffc777.tar.xz perl-URPM-3b8810aa6559844b1f83e2c8965f591146ffc777.zip |
cleanup
Diffstat (limited to 'URPM')
-rw-r--r-- | URPM/Resolve.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm index 066a644..877d77e 100644 --- a/URPM/Resolve.pm +++ b/URPM/Resolve.pm @@ -249,8 +249,8 @@ sub unsatisfied_requires { #- check on the selected package if a provide is satisfying the resolution (need to do the ops). foreach (keys %{$urpm->{provides}{$n} || {}}) { - my $p = $urpm->{depslist}[$_]; exists $state->{selected}{$_} or next; + my $p = $urpm->{depslist}[$_]; !$urpm->{provides}{$n}{$_} || $p->provides_overlap($dep, 1) and next REQUIRES; } |