]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
add deps
authorDylan William Hardison <dylan@hardison.net>
Sun, 7 Jul 2019 23:16:32 +0000 (19:16 -0400)
committerDylan William Hardison <dylan@hardison.net>
Sun, 7 Jul 2019 23:26:46 +0000 (19:26 -0400)
Bugzilla/Install/Requirements.pm

index 2c4478f9f866e36962d23bf7428d600782cd5a9d..83a1c5b7a8ba38fcde9ab4c9e915a3fff2642a93 100644 (file)
@@ -64,11 +64,11 @@ use constant APACHE => qw(apachectl httpd apache2 apache);
 # If we don't find any of the above binaries in the normal PATH,
 # these are extra places we look.
 use constant APACHE_PATH => [qw(
-    /usr/sbin
-    /usr/local/sbin
-    /usr/libexec
-    /usr/local/libexec
-    )];
+  /usr/sbin
+  /usr/local/sbin
+  /usr/libexec
+  /usr/local/libexec
+)];
 
 # The below two constants are subroutines so that they can implement
 # a hook. Other than that they are actually constants.
@@ -114,6 +114,10 @@ sub REQUIRED_MODULES {
       version => ($^V >= v5.13.3) ? '1.614' : '1.54'
     },
 
+    {package => 'DBIx-Connector', module => 'DBIx::Connector', version => '0.56',},
+
+    {package => 'Moo', module => 'Moo', version => '2.003004',},
+
     # 2.24 contains several useful text virtual methods.
     {package => 'Template-Toolkit', module => 'Template', version => '2.24'},
 
@@ -747,7 +751,7 @@ sub have_vers {
   my $blacklisted;
   if ($vok && $params->{blacklist}) {
     $blacklisted = grep($vnum =~ /$_/, @{$params->{blacklist}});
-    $vok = 0 if $blacklisted;
+    $vok         = 0 if $blacklisted;
   }
 
   if ($output) {