From f94fc05966c711a5d5dc4288e5caddce1c9f2a17 Mon Sep 17 00:00:00 2001 From: beltphed <129204636+beltphed@users.noreply.github.com> Date: Fri, 16 Aug 2024 16:47:54 -0700 Subject: [PATCH] Update debian.rst 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 --- docs/installationguide/debian.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/installationguide/debian.rst b/docs/installationguide/debian.rst index 1a04450cae..d8409b3770 100644 --- a/docs/installationguide/debian.rst +++ b/docs/installationguide/debian.rst @@ -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