From 6776912a4229c555cf1b7a640bf95198a8777ff6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Slavi=C5=A1a=20Are=C5=BEina?= <58952836+tremor021@users.noreply.github.com> Date: Sun, 3 Aug 2025 22:05:05 +0200 Subject: [PATCH] Refactor (#6524) --- ct/openhab.sh | 2 +- install/openhab-install.sh | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/ct/openhab.sh b/ct/openhab.sh index 566cf32a6..bd5e801ea 100644 --- a/ct/openhab.sh +++ b/ct/openhab.sh @@ -42,4 +42,4 @@ msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using one of the following URLs:${CL}" echo -e "${TAB}${GATEWAY}${BGN}https://${IP}:8443${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8080${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8080${CL}" diff --git a/install/openhab-install.sh b/install/openhab-install.sh index 8b6fb4b52..e2c121229 100644 --- a/install/openhab-install.sh +++ b/install/openhab-install.sh @@ -19,12 +19,7 @@ $STD apt-get install -y \ apt-transport-https msg_ok "Installed Dependencies" -msg_info "Installing Azul Zulu17" -curl -fsSL 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" >/etc/apt/sources.list.d/zulu.list -$STD apt-get update -$STD apt-get -y install zulu17-jdk -msg_ok "Installed Azul Zulu17" +JAVA_VERSION="21" setup_java msg_info "Installing openHAB" curl -fsSL "https://openhab.jfrog.io/artifactory/api/gpg/key/public" | gpg --dearmor -o /usr/share/keyrings/openhab.gpg