diff --git a/CHANGELOG.md b/CHANGELOG.md index 355e603..eb52e39 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ## {{ UNRELEASED_VERSION }} - [{{ UNRELEASED_DATE }}]({{ UNRELEASED_LINK }}) +* Fixed composer install crash caused by legacy prestissimo removal running as wrong user * Improved composer install script to default to latest stable * Fixed `mysqldump` warning for unknown option on MariaDB 11.4/11.8 [#237](https://github.com/lando/php/issues/237) * Updated to [@lando/nginx@1.6.0](https://github.com/lando/nginx/releases/tag/v1.6.0) diff --git a/scripts/install-composer.sh b/scripts/install-composer.sh index 78854af..4ddf619 100755 --- a/scripts/install-composer.sh +++ b/scripts/install-composer.sh @@ -32,11 +32,3 @@ fi # Remove the setup script php -r "unlink('/tmp/composer-setup.php');" - -# Check if anything is installed globally -if [ -f /var/www/.composer/composer.json ]; then - # If this is version 2 then let's make sure hirak/prestissimo is removed - if composer --version 2>/dev/null | grep -E "Composer (version )?2." > /dev/null; then - composer global remove hirak/prestissimo - fi -fi