Always install composer v2

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2020-12-04 10:11:02 +01:00
parent 32ded877dc
commit a1a4fa2ac2
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ then
else else
echo "Composer not found: fetching" echo "Composer not found: fetching"
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php composer-setup.php php composer-setup.php --2
php -r "unlink('composer-setup.php');" php -r "unlink('composer-setup.php');"
fi fi