Last active
August 29, 2015 13:57
-
-
Save amitaibu/9616193 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/commands/core/site_install.drush.inc b/commands/core/site_install.drush.inc | |
index 420c4cd..f19eac2 100644 | |
--- a/commands/core/site_install.drush.inc | |
+++ b/commands/core/site_install.drush.inc | |
@@ -51,6 +51,7 @@ function drush_core_pre_site_install($profile = NULL) { | |
return drush_user_abort(); | |
} | |
+ | |
// Can't install without sites subdirectory and settings.php. | |
if (!file_exists($conf_path)) { | |
if (!drush_mkdir($conf_path) && !drush_get_context('DRUSH_SIMULATE')) { | |
@@ -166,6 +167,9 @@ function drush_core_pre_site_install($profile = NULL) { | |
* Command callback. | |
*/ | |
function drush_core_site_install($profile = NULL) { | |
+ // Override to make sure we can install the distribution without timeoutes. | |
+ @set_time_limit(900); | |
+ | |
$args = func_get_args(); | |
$form_options = array(); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment