diff options
author | Francois Pons <fpons@mandriva.com> | 2002-08-30 15:52:44 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2002-08-30 15:52:44 +0000 |
commit | a9799b0b67f83d098922df26bdee640e0a76bccf (patch) | |
tree | 93ff935f53750210daee609a52cb0aa99c9a3cee /URPM | |
parent | 7cff4a7c592ade6921174e1a587e05dcac8cd703 (diff) | |
download | perl-URPM-a9799b0b67f83d098922df26bdee640e0a76bccf.tar perl-URPM-a9799b0b67f83d098922df26bdee640e0a76bccf.tar.gz perl-URPM-a9799b0b67f83d098922df26bdee640e0a76bccf.tar.bz2 perl-URPM-a9799b0b67f83d098922df26bdee640e0a76bccf.tar.xz perl-URPM-a9799b0b67f83d098922df26bdee640e0a76bccf.zip |
0.70-7mdk
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) { |