From: mkanat%bugzilla.org <> Date: Fri, 22 Aug 2008 04:03:04 +0000 (+0000) Subject: Bug 439192: Add hook to the end of checksetup.pl X-Git-Tag: bugzilla-3.0.6~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a90f9f3ed9d46b901f12f33495c7e7f94e6eb13e;p=thirdparty%2Fbugzilla.git Bug 439192: Add hook to the end of checksetup.pl Patch By Elliotte Martin r=mkanat, a=mkanat --- diff --git a/Bugzilla/Hook.pm b/Bugzilla/Hook.pm index 717baf6512..f4c4e27aad 100644 --- a/Bugzilla/Hook.pm +++ b/Bugzilla/Hook.pm @@ -171,6 +171,21 @@ Params: =back +=head2 install-before_final_checks + +Allows execution of custom code before the final checks are done in +checksetup.pl. + +Params: + +=over + +=item C + +A flag that indicates whether or not checksetup is running in silent mode. + +=back + =head2 install-requirements Because of the way Bugzilla installation works, there can't be a normal diff --git a/checksetup.pl b/checksetup.pl index eefff49181..bb1fafb7ad 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -219,6 +219,8 @@ Bugzilla::Install::create_admin(); Bugzilla::Install::create_default_product(); +Bugzilla::Hook::process('install-before_final_checks', {'silent' => $silent }); + ########################################################################### # Final checks ###########################################################################