X-Git-Url: https://git.ao2.it/drupal-init-tools.git/blobdiff_plain/12f18b8456f9e90c565e7da6f1de0a81fb3493da..cf94204e8dbb7c5603807f95c244d6531c41061b:/libexec/bootstrap.sh diff --git a/libexec/bootstrap.sh b/libexec/bootstrap.sh index e3671c0..9ea3c32 100755 --- a/libexec/bootstrap.sh +++ b/libexec/bootstrap.sh @@ -156,7 +156,7 @@ $DRUSH --verbose --yes \ --account-mail="$ACCOUNT_MAIL" \ "$INSTALLATION_PROFILE" -if $DRUSH pm-info --fields=status locale | grep -q enabled; +if $DRUSH pm-list --type=module --field=name --status=enabled --pipe | grep -q "^locale$"; then # This is necessary for multi-language sites, it fixes some issues like: # "The Translation source field needs to be installed."