diff --git a/scripts/install-composer.sh b/scripts/install-composer.sh index d287c59..c2872ca 100755 --- a/scripts/install-composer.sh +++ b/scripts/install-composer.sh @@ -34,7 +34,7 @@ php -r "unlink('/tmp/composer-setup.php');" # If upgrading from Composer 1 to 2, remove the prestissimo plugin # which is incompatible with Composer 2 (parallel downloads are built-in now). # Use COMPOSER_HOME to find the right global composer.json for the current user. -COMPOSER_HOME="${COMPOSER_HOME:-$(composer global config home --quiet 2>/dev/null || echo '')}" +COMPOSER_HOME="${COMPOSER_HOME:-$(composer global config home 2>/dev/null || echo '')}" if [ -n "$COMPOSER_HOME" ] && [ -f "$COMPOSER_HOME/composer.json" ]; then if composer --version 2>/dev/null | grep -qE "Composer (version )?2\."; then composer global remove hirak/prestissimo 2>/dev/null || true