Merge branch 'main' of https://github.com/community-scripts/ProxmoxVED
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
____ _ __ ____ ______ _
|
____ _ __ ____ ______ _
|
||||||
/ __ )(_) /_/ __/___ _______ _______ / ____/___ ____ ___ ____ ____ _____ (_)___ ____
|
/ __ )(_) /_/ __/___ _______ _______ / ____/___ ____ ___ ____ ____ _____ (_)___ ____
|
||||||
/ __ / / __/ /_/ __ \/ ___/ / / / ___/ / / / __ \/ __ `__ \/ __ \/ __ `/ __ \/ / __ \/ __ \
|
/ __ / / __/ /_/ __ \/ ___/ / / / ___/_____/ / / __ \/ __ `__ \/ __ \/ __ `/ __ \/ / __ \/ __ \
|
||||||
/ /_/ / / /_/ __/ /_/ / /__/ /_/ (__ ) / /___/ /_/ / / / / / / /_/ / /_/ / / / / / /_/ / / / /
|
/ /_/ / / /_/ __/ /_/ / /__/ /_/ (__ )_____/ /___/ /_/ / / / / / / /_/ / /_/ / / / / / /_/ / / / /
|
||||||
/_____/_/\__/_/ \____/\___/\__,_/____/ \____/\____/_/ /_/ /_/ .___/\__,_/_/ /_/_/\____/_/ /_/
|
/_____/_/\__/_/ \____/\___/\__,_/____/ \____/\____/_/ /_/ /_/ .___/\__,_/_/ /_/_/\____/_/ /_/
|
||||||
/_/
|
/_/
|
||||||
|
|||||||
@@ -6059,8 +6059,11 @@ function setup_mongodb() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Setup repository
|
# Setup repository
|
||||||
|
# MongoDB 8.x versions beyond 8.0 reuse the server-8.0.asc PGP key
|
||||||
|
local MONGO_KEY_VERSION="${MONGO_VERSION}"
|
||||||
|
[[ "${MONGO_VERSION}" == 8.[1-9]* ]] && MONGO_KEY_VERSION="8.0"
|
||||||
manage_tool_repository "mongodb" "$MONGO_VERSION" "$MONGO_BASE_URL" \
|
manage_tool_repository "mongodb" "$MONGO_VERSION" "$MONGO_BASE_URL" \
|
||||||
"https://www.mongodb.org/static/pgp/server-${MONGO_VERSION}.asc" || {
|
"https://www.mongodb.org/static/pgp/server-${MONGO_KEY_VERSION}.asc" || {
|
||||||
msg_error "Failed to setup MongoDB repository"
|
msg_error "Failed to setup MongoDB repository"
|
||||||
return 100
|
return 100
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user