diff --git a/src/docs/markdown/install.md b/src/docs/markdown/install.md index a0daf9e..6479311 100644 --- a/src/docs/markdown/install.md +++ b/src/docs/markdown/install.md @@ -45,24 +45,16 @@ Installing this package automatically starts and runs Caddy as a [systemd servic Stable releases:
sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https
-curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' \\
-  | gpg --dearmor \\
-  | sudo tee /usr/share/keyrings/caddy-stable-archive-keyring.gpg >/dev/null
-curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' \\
-  | sed 's|^deb\(-src\)\?|\0 [signed-by=/usr/share/keyrings/caddy-stable-archive-keyring.gpg]|' \\
-  | sudo tee /etc/apt/sources.list.d/caddy-stable.list
+curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg
+curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list
 sudo apt update
 sudo apt install caddy
Testing releases (includes betas and release candidates):
sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https
-curl -1sLf 'https://dl.cloudsmith.io/public/caddy/testing/gpg.key' \\
-  | gpg --dearmor \\
-  | sudo tee /usr/share/keyrings/caddy-testing-archive-keyring.gpg >/dev/null
-curl -1sLf 'https://dl.cloudsmith.io/public/caddy/testing/debian.deb.txt' \\
-  | sed 's|^deb\(-src\)\?|\0 [signed-by=/usr/share/keyrings/caddy-testing-archive-keyring.gpg]|' \\
-  | sudo tee /etc/apt/sources.list.d/caddy-testing.list
+curl -1sLf 'https://dl.cloudsmith.io/public/caddy/testing/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-testing-archive-keyring.gpg
+curl -1sLf 'https://dl.cloudsmith.io/public/caddy/testing/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-testing.list
 sudo apt update
 sudo apt install caddy