From 0f4885e59214a2d08a775051b587bb3363c7453c Mon Sep 17 00:00:00 2001 From: Francis Lavoie Date: Sun, 21 Feb 2021 02:10:21 -0500 Subject: [PATCH] docs: Fix tee command for debian instructions `tee -a` makes no sense here, we don't want to append, overwriting is just fine --- src/docs/markdown/install.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/docs/markdown/install.md b/src/docs/markdown/install.md index 56be2ed..53552e9 100644 --- a/src/docs/markdown/install.md +++ b/src/docs/markdown/install.md @@ -46,7 +46,7 @@ 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' | sudo apt-key add -
-curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee -a /etc/apt/sources.list.d/caddy-stable.list
+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
@@ -54,7 +54,7 @@ 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' | sudo apt-key add -
-curl -1sLf 'https://dl.cloudsmith.io/public/caddy/testing/debian.deb.txt' | sudo tee -a /etc/apt/sources.list.d/caddy-testing.list
+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