diff options
author | mkanat%bugzilla.org <> | 2006-12-14 06:45:12 +0100 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2006-12-14 06:45:12 +0100 |
commit | a50aaa37ec837b5d753ad31250db36282953c0c7 (patch) | |
tree | 4f2be64777301396fc14174209d5b4ced466602e /Bugzilla/DB.pm | |
parent | 5cafe3a31f3bc657f83478f8ddfc9b0b21c078ab (diff) | |
download | bugzilla-a50aaa37ec837b5d753ad31250db36282953c0c7.tar.gz bugzilla-a50aaa37ec837b5d753ad31250db36282953c0c7.tar.xz |
Bug 360710: checksetup.pl needs to blacklist some non-working external modules
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=justdave
Diffstat (limited to 'Bugzilla/DB.pm')
-rw-r--r-- | Bugzilla/DB.pm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Bugzilla/DB.pm b/Bugzilla/DB.pm index 33fdda0d8..1bc88c351 100644 --- a/Bugzilla/DB.pm +++ b/Bugzilla/DB.pm @@ -136,16 +136,17 @@ sub bz_check_requirements { # Check the existence and version of the DBD that we need. my $dbd = $db->{dbd}; - my $dbd_ver = $db->{dbd_version}; my $sql_server = $db->{name}; my $sql_want = $db->{db_version}; - unless (have_vers({ module => $dbd, version => $dbd_ver }, $output)) { + unless (have_vers($dbd, $output)) { my $command = install_command($dbd); my $root = ROOT_USER; + my $dbd_mod = $dbd->{module}; + my $dbd_ver = $dbd->{version}; my $version = $dbd_ver ? " $dbd_ver or higher" : ''; print <<EOT; -For $sql_server, Bugzilla requires that perl's ${dbd}${version} be +For $sql_server, Bugzilla requires that perl's $dbd_mod $dbd_ver be installed. To install this module, run the following command (as $root): $command |