From 7ed8558ff02b4587c6ff3d711ab70df438cb857a Mon Sep 17 00:00:00 2001 From: dami Date: Mon, 20 Jul 2026 23:22:35 +0800 Subject: [PATCH] Update ubuntu.sh --- plugins/mongodb/versions/7.0/ubuntu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mongodb/versions/7.0/ubuntu.sh b/plugins/mongodb/versions/7.0/ubuntu.sh index 2b3469110..c29426917 100644 --- a/plugins/mongodb/versions/7.0/ubuntu.sh +++ b/plugins/mongodb/versions/7.0/ubuntu.sh @@ -39,7 +39,7 @@ if [ ! -d $MG_DIR/${FILE_NAME} ];then cd $MG_DIR && tar -zxvf ${FILE_NAME_TGZ} fi -if [ ! -d $serverPath/mongodb/bin/mongod ];then +if [ ! -f $serverPath/mongodb/bin/mongod ];then mkdir -p $serverPath/mongodb cd $MG_DIR/${FILE_NAME} && cp -rf ./bin $serverPath/mongodb fi