Skip to content
Snippets Groups Projects
Commit d23b1e6a authored by anarcat's avatar anarcat
Browse files

fix permission error when adding backports

I think those instructions are too complicated - `sh -c` will be difficult to parse for new (or even experienced) users and is error prone. Nevertheless, the instructions as is will not work because the redirection does not run as root, as is the case for the other instructions. This was probably forgotten when adding the backports entry (which goes to show this is error-prone). (I would instead recommend "piping to tee", like `echo ... | sudo tee -a sources.list`, for example.)
parent 96b199b7
No related branches found
No related tags found
1 merge request!3fix permission error when adding backports
......@@ -24,7 +24,7 @@ You need to enable `stretch-backports` to install the latest `leap-archive-keyri
if you already have `stretch-backports` enabled):
```
sudo echo "deb http://deb.debian.org/debian stretch-backports main" > /etc/apt/sources.list.d/stretch-backports.list
sudo sh -c 'echo "deb http://deb.debian.org/debian stretch-backports main" > /etc/apt/sources.list.d/stretch-backports.list'
sudo apt update && sudo apt install -t stretch-backports leap-archive-keyring
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment