diff options
Diffstat (limited to 'URPM')
-rw-r--r-- | URPM/Resolve.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm index c185776..2f5ccc7 100644 --- a/URPM/Resolve.pm +++ b/URPM/Resolve.pm @@ -348,7 +348,8 @@ sub resolve_requested { my @best; foreach (@l) { $packages = $urpm->find_candidate_packages($_); - push @best, join('|', map { $_->id } map { @{$_ || []} } values %$packages); + $best = join('|', map { $_->id } map { @{$_ || []} } values %$packages); + $best and push @best, $best; } if (@best == @l) { |