fix: Moving sudo command after echo pipe

This commit is contained in:
Vigil 2016-10-21 15:11:23 -06:00
parent f40170a796
commit 8341768fd7
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ packages from the Docker repository:
for the placeholder `<REPO>`.
```bash
$ sudo echo "<REPO>" > /etc/apt/sources.list.d/docker.list
$ echo "<REPO>" | sudo tee /etc/apt/sources.list.d/docker.list
```
7. Update the `APT` package index.