summaryrefslogtreecommitdiffstats
path: root/build/autoloaderchecker.sh
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-12-13 12:06:20 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2016-12-13 12:07:07 +0100
commit60af938bf627639e35dd2a88b49fe5eb8d0283c4 (patch)
tree568070b6163821fc9d4a061238ca76dd8e1c1b41 /build/autoloaderchecker.sh
parente49088315ed8f1bd1fc8a5929ce081532f49bcdd (diff)
downloadnextcloud-server-60af938bf627639e35dd2a88b49fe5eb8d0283c4.tar.gz
nextcloud-server-60af938bf627639e35dd2a88b49fe5eb8d0283c4.zip
The hash can change so checking for it is kind of dangerous
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'build/autoloaderchecker.sh')
-rw-r--r--build/autoloaderchecker.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/build/autoloaderchecker.sh b/build/autoloaderchecker.sh
index a1f52da2d87..0a1fb8ac351 100644
--- a/build/autoloaderchecker.sh
+++ b/build/autoloaderchecker.sh
@@ -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