Commit 613f79da authored by Jon Pugh's avatar Jon Pugh

Merge commit '39842d79' into 7.x-3.x-devshop

parents 71beacc6 39842d79
......@@ -120,7 +120,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('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