From fb8bce4bba218599e27bea0fd1d2bc6739398190 Mon Sep 17 00:00:00 2001 From: Julien Oculi Date: Wed, 5 Jun 2024 21:12:41 +0200 Subject: [PATCH] fix: force cache update for caddy sources --- caddy/_install.sh | 3 +++ 1 file changed, 3 insertions(+) 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