Skip to content

A live bird collage card for your Home Assistant dashboard.

update to the way caddy is installed

mcguirepr892270c3579834
diff --git a/scripts/install_services.sh b/scripts/install_services.sh
index 4e52533d..7b486ae2 100755
--- a/scripts/install_services.sh
+++ b/scripts/install_services.sh
@@ -10,9 +10,9 @@ export USER=$USER
export HOME=$HOME
install_depends() {
- curl -1sLf \
- 'https://dl.cloudsmith.io/public/caddy/stable/setup.deb.sh' \
- | sudo -E bash
+ apt install -y debian-keyring debian-archive-keyring apt-transport-https
+ curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo tee /etc/apt/trusted.gpg.d/caddy-stable.asc
+ curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list
apt -qqq update && apt -qqy upgrade
echo "icecast2 icecast2/icecast-setup boolean false" | debconf-set-selections
apt install -qqy caddy ftpd sqlite3 php-sqlite3 alsa-utils \