Skip to content

Commit 0f4885e

Browse files
docs: Fix tee command for debian instructions
`tee -a` makes no sense here, we don't want to append, overwriting is just fine
1 parent 57b3739 commit 0f4885e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/docs/markdown/install.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@ Stable releases:
4646

4747
<pre><code class="cmd"><span class="bash">sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https</span>
4848
<span class="bash">curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo apt-key add -</span>
49-
<span class="bash">curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee -a /etc/apt/sources.list.d/caddy-stable.list</span>
49+
<span class="bash">curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list</span>
5050
<span class="bash">sudo apt update</span>
5151
<span class="bash">sudo apt install caddy</span></code></pre>
5252

5353
Testing releases (includes betas and release candidates):
5454

5555
<pre><code class="cmd"><span class="bash">sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https</span>
5656
<span class="bash">curl -1sLf 'https://dl.cloudsmith.io/public/caddy/testing/gpg.key' | sudo apt-key add -</span>
57-
<span class="bash">curl -1sLf 'https://dl.cloudsmith.io/public/caddy/testing/debian.deb.txt' | sudo tee -a /etc/apt/sources.list.d/caddy-testing.list</span>
57+
<span class="bash">curl -1sLf 'https://dl.cloudsmith.io/public/caddy/testing/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-testing.list</span>
5858
<span class="bash">sudo apt update</span>
5959
<span class="bash">sudo apt install caddy</span></code></pre>
6060

0 commit comments

Comments
 (0)