Commit 8e9f5686 authored by Adrian Rossouw's avatar Adrian Rossouw

One line fix.

also going back to using the engine include for a while, for some testing.
parent 516a06e2
......@@ -51,7 +51,9 @@ function drush_provision_drupal_provision_install() {
_provision_drupal_create_settings_file();
drush_bootstrap(DRUSH_BOOTSTRAP_DRUPAL_SITE);
provision_save_site_data();
provision_backend_invoke(d()->name, "provision-install-backend");
drush_include_engine('drupal', 'install');
#provision_backend_invoke(d()->name, "provision-install-backend");
drush_set_option('installed', TRUE, 'site');
_provision_drupal_maintain_aliases();
}
......
......@@ -47,7 +47,7 @@ function drush_provision_drupal_pre_provision_verify() {
if (provision_file()->exists(d()->makefile)->status()) {
drush_log(dt("Platform path does not exists, fetching from drush makefile"));
drush_backend_invoke("make", array(d()->makefile, d()->root), array('root' => null, 'uri' => null));
if (!drush_get_error()) {
if (drush_get_error()) {
return drush_set_error("DRUSH_MAKE_FAILED",
"Could not download platform using drush make. No platform present");
}
......
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