From ab8498e5194ef2ae4cb4773f0defdafe60ba37f1 Mon Sep 17 00:00:00 2001 From: dami Date: Mon, 20 Jul 2026 23:33:13 +0800 Subject: [PATCH] Update ubuntu.sh --- plugins/mongodb/versions/8.0/ubuntu.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/mongodb/versions/8.0/ubuntu.sh b/plugins/mongodb/versions/8.0/ubuntu.sh index 30c5a7ca4..5767775bf 100644 --- a/plugins/mongodb/versions/8.0/ubuntu.sh +++ b/plugins/mongodb/versions/8.0/ubuntu.sh @@ -15,6 +15,10 @@ SYS_VERSION_ID=`cat /etc/*-release | grep VERSION_ID | awk -F = '{print $2}' | a SYS_NAME=${SYS_VERSION_ID/./} # https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu2004-4.4.23.tgz +if [ "$SYS_NAME" -gt "2404" ];then + SYS_NAME="2404" +fi + if [ "$SYS_NAME" -lt "2004" ];then SYS_NAME="2004" fi