Merge pull request #8 from joyent/6-sudo
Execute installation in subshell
This commit is contained in:
commit
5e7d5acf4f
@ -17,7 +17,7 @@ Use of this software also requires [a Triton profile configured in the Triton CL
|
|||||||
In a terminal window, run the following command:
|
In a terminal window, run the following command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo curl -o /usr/local/bin/triton-docker https://raw.githubusercontent.com/joyent/triton-docker-cli/master/triton-docker && chmod +x /usr/local/bin/triton-docker && ln -Fs /usr/local/bin/triton-docker /usr/local/bin/triton-compose && ln -Fs /usr/local/bin/triton-docker /usr/local/bin/triton-docker-install
|
sudo bash -c 'curl -o /usr/local/bin/triton-docker https://raw.githubusercontent.com/joyent/triton-docker-cli/master/triton-docker && chmod +x /usr/local/bin/triton-docker && ln -Fs /usr/local/bin/triton-docker /usr/local/bin/triton-compose && ln -Fs /usr/local/bin/triton-docker /usr/local/bin/triton-docker-install'
|
||||||
```
|
```
|
||||||
|
|
||||||
That command will copy the `triton-docker` shell script from this repo, and link it as `triton-compose` and `triton-docker-install`.
|
That command will copy the `triton-docker` shell script from this repo, and link it as `triton-compose` and `triton-docker-install`.
|
||||||
|
Loading…
Reference in New Issue
Block a user