From: gggeek Date: Thu, 5 Jan 2023 21:14:19 +0000 (+0000) Subject: one todo for the test vm X-Git-Tag: 4.9.4~23 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=7a411d8ccbff20dbb3cc19d36f351a97b4b379a3;p=plcapi.git one todo for the test vm --- diff --git a/tests/ci/setup/setup_composer.sh b/tests/ci/setup/setup_composer.sh index 83939f9b..600c1e30 100755 --- a/tests/ci/setup/setup_composer.sh +++ b/tests/ci/setup/setup_composer.sh @@ -11,6 +11,7 @@ fi ### Code below taken from https://getcomposer.org/doc/faqs/how-to-install-composer-programmatically.md +# @todo replace wget with curl, so that we only need one of the two tools. Since we use php-curl, libcurl will be installed anyway EXPECTED_SIGNATURE="$(wget -q -O - https://composer.github.io/installer.sig)" php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" ACTUAL_SIGNATURE="$(php -r "echo hash_file('sha384', 'composer-setup.php');")"