mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-18 08:22:16 +00:00
fix unifi gpg
This commit is contained in:
@@ -15,16 +15,18 @@ update_os
|
|||||||
|
|
||||||
msg_info "Installing Dependencies"
|
msg_info "Installing Dependencies"
|
||||||
$STD apt install -y apt-transport-https
|
$STD apt install -y apt-transport-https
|
||||||
|
curl -fsSL "https://dl.ui.com/unifi/unifi-repo.gpg" -o "/usr/share/keyrings/unifi-repo.gpg"
|
||||||
|
cat <<EOF | sudo tee /etc/apt/sources.list.d/100-ubnt-unifi.sources >/dev/null
|
||||||
|
Types: deb
|
||||||
|
URIs: https://www.ui.com/downloads/unifi/debian
|
||||||
|
Suites: stable
|
||||||
|
Components: ubiquiti
|
||||||
|
Architectures: amd64
|
||||||
|
Signed-By: /usr/share/keyrings/unifi-repo.gpg
|
||||||
|
EOF
|
||||||
|
$STD apt update
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
setup_deb822_repo \
|
|
||||||
"unifi" \
|
|
||||||
"https://dl.ui.com/unifi/unifi-repo.gpg" \
|
|
||||||
"https://dl.ui.com/unifi/debian" \
|
|
||||||
"stable" \
|
|
||||||
"ubiquiti" \
|
|
||||||
"amd64"
|
|
||||||
|
|
||||||
JAVA_VERSION="21" setup_java
|
JAVA_VERSION="21" setup_java
|
||||||
|
|
||||||
if lscpu | grep -q 'avx'; then
|
if lscpu | grep -q 'avx'; then
|
||||||
|
|||||||
Reference in New Issue
Block a user