Always install composer v2
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
32ded877dc
commit
a1a4fa2ac2
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue