diff options
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/select.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/select.pm b/urpm/select.pm index c8cf47a3..b737d0ed 100644 --- a/urpm/select.pm +++ b/urpm/select.pm @@ -227,7 +227,7 @@ sub resolve_dependencies { if ($options{install_src}) { #- only src will be installed, so only update $state->{selected} according #- to src status of files. - foreach (keys %$requested) { + foreach (map { split /\|/ } keys %$requested) { my $pkg = $urpm->{depslist}[$_] or next; $pkg->arch eq 'src' or next; $state->{selected}{$_} = undef; |