From e1d2fb8efa9a575d491176d7d8d5ec953c36943c Mon Sep 17 00:00:00 2001 From: samir1 Date: Wed, 22 Jan 2025 12:48:21 +0000 Subject: [PATCH] update caddy install commands --- prep-grid-vm.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/prep-grid-vm.sh b/prep-grid-vm.sh index d7ffea2..04889ac 100644 --- a/prep-grid-vm.sh +++ b/prep-grid-vm.sh @@ -19,9 +19,9 @@ install_docker() { install_caddy() { echo "Installing Caddy" - apt-get install -y debian-keyring debian-archive-keyring apt-transport-https - curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | tee /etc/apt/trusted.gpg.d/caddy-stable.asc - curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | tee /etc/apt/sources.list.d/caddy-stable.list + apt install -y debian-keyring debian-archive-keyring apt-transport-https + 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 apt-get update apt-get install caddy -y echo "Caddy installation completed."