fix: force cache update for caddy sources
This commit is contained in:
parent
e70dc321d9
commit
fb8bce4bba
|
@ -6,6 +6,9 @@ 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' | 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
|
||||||
|
|
||||||
|
# Update newly added source
|
||||||
|
apt update
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Install or upgrade caddy
|
# Install or upgrade caddy
|
||||||
|
|
Loading…
Reference in a new issue