summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Pugh2017-05-23 15:40:49 -0400
committerJon Pugh2017-05-23 15:40:49 -0400
commit39842d795217ffc2cbde9b6da78767e3094a4c25 (patch)
treebac88ea323de37a2cc25adbdb723784aaa50bb80
parentdfa824f7b9f42bd949824ce31c06f89f5aa456f6 (diff)
Issue #2754069: Use d()->install_method when checking for profile install.2754069-decouple-install
-rw-r--r--platform/install.provision.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/install.provision.inc b/platform/install.provision.inc
index 47913f5..8ad7c4e 100644
--- a/platform/install.provision.inc
+++ b/platform/install.provision.inc
@@ -118,7 +118,7 @@ function drush_provision_drupal_provision_install() {
function drush_provision_drupal_post_provision_install() {
// If Drupal profile was installed, rebuild drupal caches and save enabled packages for aegir.
- if (drush_get_option('site_install_method', 'profile') == 'profile' && drush_get_option('installed', FALSE, 'site')) {
+ if (d()->install_method == 'profile' && drush_get_option('installed', FALSE, 'site')) {
_provision_drupal_rebuild_caches();
drush_set_option('packages', _scrub_object(provision_drupal_system_map()), 'site');
_provision_client_create_symlink();