summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-rw-r--r--urpm/select.pm9
1 files changed, 0 insertions, 9 deletions
diff --git a/urpm/select.pm b/urpm/select.pm
index b737d0ed..e25b0754 100644
--- a/urpm/select.pm
+++ b/urpm/select.pm
@@ -224,15 +224,6 @@ sub resolve_dependencies {
my ($urpm, $state, $requested, %options) = @_;
my $need_restart;
- if ($options{install_src}) {
- #- only src will be installed, so only update $state->{selected} according
- #- to src status of files.
- foreach (map { split /\|/ } keys %$requested) {
- my $pkg = $urpm->{depslist}[$_] or next;
- $pkg->arch eq 'src' or next;
- $state->{selected}{$_} = undef;
- }
- }
if ($urpm->{parallel_handler}) {
require urpm::parallel; #- help perl_checker;
urpm::parallel::resolve_dependencies($urpm, $state, $requested, %options);