aboutsummaryrefslogtreecommitdiffstats
path: root/URPM
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-18 09:11:50 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-18 09:11:50 +0000
commiteb7964172b2adfdb2dca493348089bbf7f26d5de (patch)
treebeda824a10c29ef34a61b9213f1d9a29e812fd1d /URPM
parent01c0dc37ff3188cb960a3e90cae8fda97c02cdd5 (diff)
downloadperl-URPM-eb7964172b2adfdb2dca493348089bbf7f26d5de.tar
perl-URPM-eb7964172b2adfdb2dca493348089bbf7f26d5de.tar.gz
perl-URPM-eb7964172b2adfdb2dca493348089bbf7f26d5de.tar.bz2
perl-URPM-eb7964172b2adfdb2dca493348089bbf7f26d5de.tar.xz
perl-URPM-eb7964172b2adfdb2dca493348089bbf7f26d5de.zip
in case one do "urpmi kernel-devel", $requested will be
{ 'id1|id2|...' => 1 }, and not { 'kernel-devel' => 1 } as would be prefered. this need to be changed in urpmi. But we still want to display the correct things here.
Diffstat (limited to 'URPM')
-rw-r--r--URPM/Resolve.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index 6406642..29c6b5a 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -1087,7 +1087,7 @@ sub _handle_conflict {
#- side-effects: none
sub _dep_to_name {
my ($urpm, $dep) = @_;
- _id_to_name($urpm, $dep->{required});
+ join('|', map { _id_to_name($urpm, $_) } split('\|', $dep->{required}));
}
#- side-effects: none
sub _id_to_name {