summaryrefslogtreecommitdiffstats
path: root/urpm/select.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-11-15 15:36:26 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-11-15 15:36:26 +0000
commitacb52d8bea4610de1684562201c8919a757730ad (patch)
treee0c0b4e831ac74f8c3ebbe91ed08b66b7bbea6e9 /urpm/select.pm
parenta8102cf3db9b741bd65a4c1b573c238d526e2c05 (diff)
downloadurpmi-acb52d8bea4610de1684562201c8919a757730ad.tar
urpmi-acb52d8bea4610de1684562201c8919a757730ad.tar.gz
urpmi-acb52d8bea4610de1684562201c8919a757730ad.tar.bz2
urpmi-acb52d8bea4610de1684562201c8919a757730ad.tar.xz
urpmi-acb52d8bea4610de1684562201c8919a757730ad.zip
remove unneeded code
(this fixes pubkey checks when a src.rpm is available in more than one media)
Diffstat (limited to 'urpm/select.pm')
-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);