From a90f9f3ed9d46b901f12f33495c7e7f94e6eb13e Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Fri, 22 Aug 2008 04:03:04 +0000 Subject: [PATCH] Bug 439192: Add hook to the end of checksetup.pl Patch By Elliotte Martin r=mkanat, a=mkanat --- Bugzilla/Hook.pm | 15 +++++++++++++++ checksetup.pl | 2 ++ 2 files changed, 17 insertions(+) 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 ########################################################################### -- 2.47.3