From acb52d8bea4610de1684562201c8919a757730ad Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 15 Nov 2007 15:36:26 +0000 Subject: remove unneeded code (this fixes pubkey checks when a src.rpm is available in more than one media) --- urpm/select.pm | 9 --------- 1 file changed, 9 deletions(-) (limited to 'urpm') 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); -- cgit v1.2.1