]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 551104: Don't install DBD::Pg when using install-module.pl --all unless
authorMax Kanat-Alexander <mkanat@bugzilla.org>
Tue, 9 Mar 2010 04:31:31 +0000 (20:31 -0800)
committerMax Kanat-Alexander <mkanat@bugzilla.org>
Tue, 9 Mar 2010 04:31:31 +0000 (20:31 -0800)
the PostgreSQL devel files are actually installed.
r=mkanat, a=mkanat (module owner)

install-module.pl

index 241972211bbe39612bb6408a38910d7ea27b0409..bfee113b75871a449d20674522d4ba493c98d8e9 100755 (executable)
@@ -35,6 +35,7 @@ use Bugzilla::Install::CPAN;
 
 use Bugzilla::Constants;
 use Bugzilla::Install::Requirements;
+use Bugzilla::Install::Util qw(bin_loc);
 
 use Data::Dumper;
 use Getopt::Long;
@@ -98,6 +99,7 @@ if ($switch{'all'} || $switch{'upgrade-all'}) {
         # 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};
+        next if $cpan_name eq 'DBD::Pg' and !bin_loc('pg_config');
         install_module($cpan_name, $can_notest);
     }
 }