summaryrefslogtreecommitdiffstats
path: root/urpmq
diff options
context:
space:
mode:
Diffstat (limited to 'urpmq')
-rwxr-xr-xurpmq2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmq b/urpmq
index 46d0320b..91309582 100755
--- a/urpmq
+++ b/urpmq
@@ -350,7 +350,7 @@ if ($options{list_aliases}) {
foreach (map { $urpm->{depslist}[$_] }
grep { ! exists $state->{selected}{$_} && ! exists $properties{$_} }
keys %{$requires{$n} || {}}) {
- if (grep { URPM::ranges_overlap("$n $s", $_) } $_->requires) {
+ if (any { URPM::ranges_overlap("$n $s", $_) } $_->requires) {
push @properties, $_->id;
$urpm->{debug} and $urpm->{debug}(sprintf "adding package %s (requires %s%s)", $_->name, $pkg->name, $n eq $pkg->name ? '' : " via $n");
$properties{$_->id} = undef;