Skip to content

Commit bef3ccd

Browse files
authored
Update omada.sh
1 parent 02fb3ab commit bef3ccd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ct/omada.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@ function update_script() {
2929
fi
3030

3131
msg_info "Updating MongoDB"
32-
MONGODB_VERSION="8.0"
32+
MONGODB_VERSION="7.0"
3333
if ! lscpu | grep -q 'avx'; then
3434
MONGODB_VERSION="4.4"
35+
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/"
36+
exit 1
3537
fi
3638

3739
wget -qO- https://www.mongodb.org/static/pgp/server-${MONGODB_VERSION}.asc | gpg --dearmor >/usr/share/keyrings/mongodb-server-${MONGODB_VERSION}.gpg

0 commit comments

Comments
 (0)