initial commit for rvr-nextgen
rvr-nextgen/pipeline/head There was a failure building this commit

This commit is contained in:
bence committed 2023-04-08 00:45:40 +02:00
commit 7945627708
87 files changed
+7008

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
#!/bin/sh
EXPECTED_CHECKSUM="$(curl -sL https://composer.github.io/installer.sig)"
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
ACTUAL_CHECKSUM="$(php -r "echo hash_file('sha384', 'composer-setup.php');")"
if [ "$EXPECTED_CHECKSUM" != "$ACTUAL_CHECKSUM" ]
then
>&2 echo 'ERROR: Invalid installer checksum'
rm composer-setup.php
exit 1
fi
php composer-setup.php --install-dir=/usr/local/bin --filename=composer
RESULT=$?
rm composer-setup.php
exit $RESULT