diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2020-03-30 11:20:32 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2020-03-30 11:20:32 -0300 |
commit | 52e254c32d6dfbe2d193098706582a850385f66c (patch) | |
tree | 50340621c859e9fd95ae828b6457ca517f2d1bd8 /files/getcomposer | |
parent | eefdc4d88cac3116ad8143515f9e46d5f5f2f744 (diff) | |
download | puppet-php-52e254c32d6dfbe2d193098706582a850385f66c.tar.gz puppet-php-52e254c32d6dfbe2d193098706582a850385f66c.tar.bz2 |
Bump composer
Diffstat (limited to 'files/getcomposer')
-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 |