From 3981cc90c414ed63588f3424cb2ae0521bc4d395 Mon Sep 17 00:00:00 2001 From: moodyblue Date: Tue, 13 May 2025 13:40:49 +0100 Subject: [PATCH] Update openhab-install.sh (#4438) 1) Update zulu repo 2) Use zulu17-jdk (previously zulu21-jdk) --- install/openhab-install.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/install/openhab-install.sh b/install/openhab-install.sh index c94a44319..017577597 100644 --- a/install/openhab-install.sh +++ b/install/openhab-install.sh @@ -16,16 +16,16 @@ update_os msg_info "Installing Dependencies" $STD apt-get install -y \ gnupg \ + ca-certificates \ apt-transport-https msg_ok "Installed Dependencies" -msg_info "Installing Azul Zulu21" -curl -fsSL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xB1998361219BD9C9" -o "/etc/apt/trusted.gpg.d/zulu-repo.asc" -curl -fsSL "https://cdn.azul.com/zulu/bin/zulu-repo_1.0.0-3_all.deb" -o $(basename "https://cdn.azul.com/zulu/bin/zulu-repo_1.0.0-3_all.deb") -$STD dpkg -i zulu-repo_1.0.0-3_all.deb +msg_info "Installing Azul Zulu17" +curl -s https://repos.azul.com/azul-repo.key | gpg --dearmor -o /usr/share/keyrings/azul.gpg +echo "deb [signed-by=/usr/share/keyrings/azul.gpg] https://repos.azul.com/zulu/deb stable main" | tee /etc/apt/sources.list.d/zulu.list $STD apt-get update -$STD apt-get -y install zulu21-jdk -msg_ok "Installed Azul Zulu21" +$STD apt-get -y install zulu17-jdk +msg_ok "Installed Azul Zulu17" msg_info "Installing openHAB" curl -fsSL "https://openhab.jfrog.io/artifactory/api/gpg/key/public" | gpg --dearmor >openhab.gpg