aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2008-01-12 06:43:22 +0000
committermkanat%bugzilla.org <>2008-01-12 06:43:22 +0000
commit7f66bb39e73161d3ca488fce0546932451f44df3 (patch)
treec2c65d67625c2a87d7a110071f4ba27483a14879 /install-module.pl
parentBug 411486: Oracle fails to add a new custom field - Patch by Xiaoou <xiaoou.... (diff)
downloadbugzilla-7f66bb39e73161d3ca488fce0546932451f44df3.tar.gz
bugzilla-7f66bb39e73161d3ca488fce0546932451f44df3.tar.bz2
bugzilla-7f66bb39e73161d3ca488fce0546932451f44df3.zip
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) {