mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-09-11 01:44:38 +00:00
Update omada.sh
This commit is contained in:
parent
02fb3ab9b4
commit
bef3ccd164
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue