summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Rossouw2010-06-18 05:47:22 (GMT)
committerAdrian Rossouw2010-06-18 05:47:22 (GMT)
commit8e9f56860de815d211c16b6d2d99628184ca563f (patch)
tree2bb8d880aa0b1245a837133de10797ab45740bb6
parent516a06e2bd13aaf3636c9ce5c8c20eeaf3fdd8db (diff)
One line fix.
also going back to using the engine include for a while, for some testing.
-rw-r--r--platform/install.provision.inc4
-rw-r--r--platform/verify.provision.inc2
2 files changed, 4 insertions, 2 deletions
diff --git a/platform/install.provision.inc b/platform/install.provision.inc
index 7a96629..0e9f8e6 100644
--- a/platform/install.provision.inc
+++ b/platform/install.provision.inc
@@ -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();
}
diff --git a/platform/verify.provision.inc b/platform/verify.provision.inc
index 54231d6..f9362fe 100644
--- a/platform/verify.provision.inc
+++ b/platform/verify.provision.inc
@@ -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");
}