Browse Source

The hash can change so checking for it is kind of dangerous

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
tags/v11.0.0
Roeland Jago Douma 7 years ago
parent
commit
60af938bf6
No account linked to committer's email address
1 changed files with 0 additions and 1 deletions
  1. 0
    1
      build/autoloaderchecker.sh

+ 0
- 1
build/autoloaderchecker.sh View File

@@ -8,7 +8,6 @@ then
else
echo "Composer not found: fetching"
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('SHA384', 'composer-setup.php') === 'e115a8dc7871f15d853148a7fbac7da27d6c0030b848d9b3dc09e2a0388afed865e6a3d6b3c0fad45c48e2b5fc1196ae') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
fi

Loading…
Cancel
Save