diff --git a/caddy/_install.sh b/caddy/_install.sh index 2668bfc..2680902 100644 --- a/caddy/_install.sh +++ b/caddy/_install.sh @@ -6,6 +6,9 @@ if [[ $(which caddy) != "/usr/bin/caddy" ]]; then # 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/debian.deb.txt' | tee /etc/apt/sources.list.d/caddy-stable.list + + # Update newly added source + apt update fi # Install or upgrade caddy