Update openhab-install.sh

apt-key is deprecated
This commit is contained in:
tteckster 2023-07-08 12:24:25 -04:00 committed by GitHub
parent f0ae6a89d1
commit 006b29fc55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -22,9 +22,9 @@ $STD apt-get install -y apt-transport-https
msg_ok "Installed Dependencies"
msg_info "Installing Azul Zulu"
$STD apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xB1998361219BD9C9
wget -qO /etc/apt/trusted.gpg.d/zulu-repo.asc "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xB1998361219BD9C9"
wget -q https://cdn.azul.com/zulu/bin/zulu-repo_1.0.0-3_all.deb
$STD apt-get install ./zulu-repo_1.0.0-3_all.deb
$STD dpkg -i zulu-repo_1.0.0-3_all.deb
$STD apt-get update
$STD apt-get -y install zulu11-jdk
msg_ok "Installed Azul Zulu"