diff options
-rwxr-xr-x | files/getcomposer | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/getcomposer b/files/getcomposer index beedf60..b2ef706 100755 --- a/files/getcomposer +++ b/files/getcomposer @@ -8,7 +8,7 @@ #php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" wget https://getcomposer.org/installer -O composer-setup.php || exit 1 -php -r "if (hash_file('SHA384', 'composer-setup.php') === 'a5c698ffe4b8e849a443b120cd5ba38043260d5c4023dbf93e1558871f1f07f58274fc6f4c93bcfd858c6bd0775cd8d1') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" +php -r "if (hash_file('sha384', 'composer-setup.php') === 'e0012edf3e80b6978849f5eff0d4b4e4c79ff1609dd1e613307e16318854d24ae64f26d17af3ef0bf7cfb710ca74755a') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" if [ -e "composer-setup.php" ]; then php composer-setup.php --install-dir=/usr/local/bin --filename=composer |