Skip to content

Commit bde8867

Browse files
committed
Download Composer compressed in the orb setup script
1 parent 5ebdadc commit bde8867

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.agents/setup‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ echo " $(php -r 'echo PHP_VERSION;') (${SECONDS}s)"
2323
step "Composer"
2424
if ! command -v composer >/dev/null 2>&1; then
2525
tmp="$(mktemp -d)"
26-
curl -fsSL -o "$tmp/composer.phar" https://getcomposer.org/download/latest-stable/composer.phar
26+
curl -fsSL --compressed -o "$tmp/composer.phar" https://getcomposer.org/download/latest-stable/composer.phar
2727
curl -fsSL -o "$tmp/composer.phar.sha256sum" https://getcomposer.org/download/latest-stable/composer.phar.sha256sum
2828
(cd "$tmp" && sed 's/ .*/ composer.phar/' composer.phar.sha256sum | sha256sum -c --quiet)
2929
sudo install -m 0755 "$tmp/composer.phar" /usr/local/bin/composer

0 commit comments

Comments
 (0)