]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 439192: Add hook to the end of checksetup.pl
authormkanat%bugzilla.org <>
Fri, 22 Aug 2008 04:03:04 +0000 (04:03 +0000)
committermkanat%bugzilla.org <>
Fri, 22 Aug 2008 04:03:04 +0000 (04:03 +0000)
Patch By Elliotte Martin <elliotte_martin@yahoo.com> r=mkanat, a=mkanat

Bugzilla/Hook.pm
checksetup.pl

index 717baf6512463742764740fef0b11cd9c96b3666..f4c4e27aadb4529a326cbbd6f6b16697a5904d3e 100644 (file)
@@ -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<silent>
+
+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
index eefff49181965cfd01fda4d522ba4e39c2bf3798..bb1fafb7adb22b680afb7bef43e86e7006d1818d 100755 (executable)
@@ -219,6 +219,8 @@ Bugzilla::Install::create_admin();
 
 Bugzilla::Install::create_default_product();
 
+Bugzilla::Hook::process('install-before_final_checks', {'silent' => $silent });
+
 ###########################################################################
 # Final checks
 ###########################################################################