Aleksander Cynarski
45d0eb04a0
All checks were successful
continuous-integration/drone/push Build is passing
17 lines
352 B
Bash
Executable File
17 lines
352 B
Bash
Executable File
#!/bin/sh
|
|
|
|
PHP_VERSION=`php -r 'echo PHP_MAJOR_VERSION.PHP_MINOR_VERSION;'`
|
|
|
|
|
|
if [ $PHP_VERSION = '72' ]; then
|
|
wget -O /bin/composer https://getcomposer.org/composer-1.phar
|
|
else
|
|
wget -O /bin/composer https://getcomposer.org/composer.phar
|
|
fi
|
|
|
|
chmod a+x /bin/composer
|
|
|
|
|
|
if [ $PHP_VERSION = '72' ]; then
|
|
composer global require hirak/prestissimo
|
|
fi |