From 42190b014d798524c7d9f17e587a6fb3ff5f8414 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 12 Sep 2019 15:33:05 -0300 Subject: Updates composer-setup.php hash --- files/getcomposer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3