Skip to content

Commit

Permalink
Update debian.rst
Browse files Browse the repository at this point in the history
As written, you can't redirect sudo output as desired. Wrapping the "echo deb..." in quotes will permit a regular user to redirect stdout to /etc/apt/sources.list
  • Loading branch information
beltphed authored Aug 16, 2024
1 parent c8cce78 commit f94fc05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/installationguide/debian.rst
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ The backports repository is deactivated by default, so with the second line we e

::

sudo echo 'deb http://deb.debian.org/debian bookworm-backports main contrib' >> /etc/apt/sources.list
sudo bash -c "echo 'deb http://deb.debian.org/debian bookworm-backports main contrib' >> /etc/apt/sources.list"
sudo apt update
sudo apt -t bookworm-backports install zoneminder

Expand Down

0 comments on commit f94fc05

Please sign in to comment.