Commit 2fdb0584 authored by Adrian Rossouw's avatar Adrian Rossouw

Additional fix to import. We need to set the profile on a higher context than...

Additional fix to import. We need to set the profile on a higher context than 'alias' otherwise the site alias config overrides our detected profile on import.
parent 0a06e64b
......@@ -20,8 +20,8 @@ function drush_provision_drupal_provision_import() {
function drush_provision_drupal_post_provision_import() {
if (d()->type === 'site') {
d()->profile = drush_get_option('profile', 'default', 'site');
d()->language = drush_get_option('language', 'en', 'site');
d()->profile = drush_set_option('profile', drush_get_option('profile', 'default', 'site'));
d()->language = drush_set_option('language', drush_get_option('language', 'en', 'site'));
d()->aliases = drush_set_option('aliases', provision_drupal_find_aliases());
d()->write_alias();
......
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