diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2019-09-12 15:33:05 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2019-09-12 15:33:05 -0300 |
commit | 42190b014d798524c7d9f17e587a6fb3ff5f8414 (patch) | |
tree | 2985e1cfcf1c5ef67c2fd475d4d48e48e9dee312 | |
parent | e7ef0bafb3dcfc6138ad8f2791e03b0ee8ba633b (diff) | |
download | puppet-php-42190b014d798524c7d9f17e587a6fb3ff5f8414.tar.gz puppet-php-42190b014d798524c7d9f17e587a6fb3ff5f8414.tar.bz2 |
Updates composer-setup.php hash
-rwxr-xr-x | files/getcomposer | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/getcomposer b/files/getcomposer index bbfcb15..beedf60 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') === '544e09ee996cdf60ece3804abc52599c22b1f40f4323403c44d44fdfdd586475ca9813a858088ffbc1f233e9b180f061') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" +php -r "if (hash_file('SHA384', 'composer-setup.php') === 'a5c698ffe4b8e849a443b120cd5ba38043260d5c4023dbf93e1558871f1f07f58274fc6f4c93bcfd858c6bd0775cd8d1') { 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 |