X-Git-Url: https://git.ao2.it/drupal-init-tools.git/blobdiff_plain/6bc7c74e4c99280f488a59204f5ab40a9f39167b..1519f69760503e0895f60fbbbcd5bbfde7bf7071:/libexec/bootstrap.sh diff --git a/libexec/bootstrap.sh b/libexec/bootstrap.sh index 1dee4f2..63318a4 100755 --- a/libexec/bootstrap.sh +++ b/libexec/bootstrap.sh @@ -95,7 +95,7 @@ DRUPAL_CONSOLE="${PWD}/vendor/bin/drupal" # This becomes unnecessary if the installation profile gets pulled in by # composer.json, like suggested in # https://github.com/drupal-composer/drupal-project/issues/249 -if ! echo "$INSTALLATION_PROFILE" | egrep -q "^(minimal|standard)$"; +if ! echo "$INSTALLATION_PROFILE" | grep -q -E "^(minimal|standard)$"; then if [ -d "${SITE_LOCAL_PATH}/profiles/${INSTALLATION_PROFILE}" -a "$OVERWRITE_PROFILE" != "true" ]; then