Commit 39842d79 authored by Jon Pugh's avatar Jon Pugh

Issue #2754069: Use d()->install_method when checking for profile install.

parent dfa824f7
......@@ -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')) {
drush_set_option('packages', _scrub_object(provision_drupal_system_map()), 'site');
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