Bug 411910: install-module.pl aborts when trying to install DBD::Oracle

Patch By Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat


git-svn-id: svn://10.0.0.236/trunk@242936 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mkanat%bugzilla.org
2008-01-12 00:43:22 +00:00
parent e17d058b3f
commit 8a7592dcd2

View File

@@ -85,13 +85,9 @@ if ($switch{'all'} || $switch{'upgrade-all'}) {
# --all shouldn't include mod_perl2, because it can have some complex
# configuration, and really should be installed on its own.
next if $cpan_name eq 'mod_perl2';
next if $cpan_name eq 'DBD::Oracle' and !$ENV{ORACLE_HOME};
install_module($cpan_name, $can_notest);
}
my $dbs = DB_MODULE;
foreach my $db (keys %$dbs) {
install_module($dbs->{$db}->{dbd}->{module}, $can_notest)
unless have_vers($dbs->{$db}->{dbd}, 0);
}
}
foreach my $module (@ARGV) {