mirror of
https://github.com/composer/composer
synced 2025-05-11 01:22:54 +00:00
Remove dependency on wget from install docs
Some people have wget, others have cURL, but we all have PHP. ;)
This commit is contained in:
parent
c800db04d3
commit
b4cff190a8
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ An alternative is to use this script which only works with UNIX utilities:
|
|||
```bash
|
||||
#!/bin/sh
|
||||
|
||||
EXPECTED_CHECKSUM="$(wget -q -O - https://composer.github.io/installer.sig)"
|
||||
EXPECTED_CHECKSUM="$(php -r 'copy("https://composer.github.io/installer.sig", "php://stdout");')"
|
||||
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
|
||||
ACTUAL_CHECKSUM="$(php -r "echo hash_file('sha384', 'composer-setup.php');")"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue