bootstrap.sh: stop using the deprecated drush "pm-info" command
[drupal-init-tools.git] / libexec / bootstrap.sh
index e3671c0..9ea3c32 100755 (executable)
@@ -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."