Skip to content

Commit

Permalink
Update Apt install to work with file permissions
Browse files Browse the repository at this point in the history
As a non-root user, the existing command to update the apt sources list fails due to a lack of permissions. The updated command uses `sudo` to gain the permissions needed and `tee` to write the changes to the file.
  • Loading branch information
kemitix authored and Eitan Joffe committed Aug 5, 2022
1 parent ed8a69e commit 565965f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Installation

### Apt
```bash
> echo "deb [trusted=yes] https://apt.fury.io/inigolabs/ /" > /etc/apt/sources.list.d/inigolabs.list
> echo "deb [trusted=yes] https://apt.fury.io/inigolabs/ /" | sudo tee /etc/apt/sources.list.d/inigolabs.list
> sudo apt update
> sudo apt install spr
```
Expand Down

0 comments on commit 565965f

Please sign in to comment.