summaryrefslogtreecommitdiffstats
path: root/install-module.pl
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2008-01-12 07:43:22 +0100
committermkanat%bugzilla.org <>2008-01-12 07:43:22 +0100
commit7f66bb39e73161d3ca488fce0546932451f44df3 (patch)
treec2c65d67625c2a87d7a110071f4ba27483a14879 /install-module.pl
parent3976e1a7df3b86e1ebc333949e4069cd1c6ac744 (diff)
downloadbugzilla-7f66bb39e73161d3ca488fce0546932451f44df3.tar.gz
bugzilla-7f66bb39e73161d3ca488fce0546932451f44df3.tar.xz
Bug 411910: install-module.pl aborts when trying to install DBD::Oracle
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat
Diffstat (limited to 'install-module.pl')
-rw-r--r--install-module.pl6
1 files changed, 1 insertions, 5 deletions
diff --git a/install-module.pl b/install-module.pl
index eb9ae38e4..a0de6d70a 100644
--- a/install-module.pl
+++ b/install-module.pl
@@ -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) {