1
0
Fork 0

Add instructions on how to install from an exact version of the installer instead

pull/5478/head
Jordi Boggiano 2016-06-28 16:35:32 +01:00
parent bd7f28bc34
commit 635d63ebf7
1 changed files with 12 additions and 0 deletions

View File

@ -28,3 +28,15 @@ fi
The script will exit with 1 in case of failure, or 0 on success, and is quiet The script will exit with 1 in case of failure, or 0 on success, and is quiet
if no error occurs. if no error occurs.
Alternatively if you want to rely on an exact copy of the installer you can fetch
a specific version from github's history. The commit hash should be enough to
give it uniqueness and authenticity as long as you can trust the GitHub servers.
For example:
```bash
wget https://raw.githubusercontent.com/composer/getcomposer.org/1b137f8bf6db3e79a38a5bc45324414a6b1f9df2/web/installer -O - -q | php -- --quiet
```
You may replace the commit hash by whatever the last commit hash is on
https://github.com/composer/getcomposer.org/commits/master