Update unifi-install.sh

fixes https://github.com/tteck/Proxmox/issues/2386
This commit is contained in:
tteckster 2024-01-25 12:15:19 -05:00 committed by GitHub
parent 928d13cb71
commit 09846607f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,7 +25,7 @@ msg_info "Installing OpenJDK"
wget -qO- https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor >/etc/apt/trusted.gpg.d/adoptium.gpg wget -qO- https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor >/etc/apt/trusted.gpg.d/adoptium.gpg
echo 'deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/adoptium.gpg] https://packages.adoptium.net/artifactory/deb bookworm main' >/etc/apt/sources.list.d/adoptium.list echo 'deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/adoptium.gpg] https://packages.adoptium.net/artifactory/deb bookworm main' >/etc/apt/sources.list.d/adoptium.list
$STD apt-get update $STD apt-get update
$STD apt-get install -y temurin-17-jre $STD apt-get install -y temurin-17-jdk
msg_ok "Installed OpenJDK" msg_ok "Installed OpenJDK"
msg_info "Installing MongoDB" msg_info "Installing MongoDB"