Commit 9f1e16f5 authored by helmo's avatar helmo Committed by Jon Pugh

Issue #2266997 by helmo, cweagans: Added Do not automatically enable update...

Issue #2266997 by helmo, cweagans: Added Do not automatically enable update module when installing a site.
parent efeec84a
......@@ -141,6 +141,10 @@ function install_main() {
),
),
);
// Allow other commands to alter the installation settings.
drush_command_invoke_all_ref('provision_drupal_install_settings_alter', $settings, $url);
try {
install_drupal($settings);
}
......
......@@ -212,3 +212,16 @@ function hook_provision_drupal_chgrp_directories_alter(&$chgrp, $url) {
$chgrp["sites/$url/my_special_dir"] = d('@server_master')->web_group;
$chgrp["sites/$url/my_other_dir"] = FALSE; // Skip the chgrp on this directory.
}
/**
* Alter the settings array just before starting the provision install.
*
* @param $settings
* The array with settings.
* @param $url
* The site url.
*/
function hook_provision_drupal_install_settings_alter(&$settings, $url) {
$settings['forms']['install_configure_form']['update_status_module'] = array();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment