mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-03-08 13:19:05 +00:00
Update omada.sh
This commit is contained in:
parent
02fb3ab9b4
commit
bef3ccd164
@ -29,9 +29,11 @@ function update_script() {
|
||||
fi
|
||||
|
||||
msg_info "Updating MongoDB"
|
||||
MONGODB_VERSION="8.0"
|
||||
MONGODB_VERSION="7.0"
|
||||
if ! lscpu | grep -q 'avx'; then
|
||||
MONGODB_VERSION="4.4"
|
||||
msg_error "No AVX detected: TP-Link Canceled Support for Old MongoDB for Debian 12\n https://www.tp-link.com/baltic/support/faq/4160/"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
wget -qO- https://www.mongodb.org/static/pgp/server-${MONGODB_VERSION}.asc | gpg --dearmor >/usr/share/keyrings/mongodb-server-${MONGODB_VERSION}.gpg
|
||||
|
Loading…
x
Reference in New Issue
Block a user