fix: remove sudo
from caddy install script
This commit is contained in:
parent
01770c9810
commit
fab58379c1
|
@ -5,7 +5,7 @@ if [[ $(which caddy) != "/usr/bin/caddy" ]]; then
|
||||||
|
|
||||||
# Install sources and keys
|
# Install sources and keys
|
||||||
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg
|
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | 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
|
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | tee /etc/apt/sources.list.d/caddy-stable.list
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Install or upgrade caddy
|
# Install or upgrade caddy
|
||||||
|
|
Loading…
Reference in a new issue