From d57c60e55dee927726304db2e8eae5a3462b291e Mon Sep 17 00:00:00 2001 From: Francis Lavoie Date: Tue, 17 May 2022 11:04:52 -0400 Subject: [PATCH] CloudSmith now does the signed-by ahead of time --- src/docs/markdown/install.md | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) 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