From 4ed2f0caa9432159decd6161f4624e1cbccc3ffd Mon Sep 17 00:00:00 2001 From: dami Date: Mon, 20 Jul 2026 23:19:31 +0800 Subject: [PATCH] update --- plugins/mongodb/versions/7.0/debian.sh | 2 +- plugins/mongodb/versions/7.0/ubuntu.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/mongodb/versions/7.0/debian.sh b/plugins/mongodb/versions/7.0/debian.sh index d66088db6..eb4623b3d 100644 --- a/plugins/mongodb/versions/7.0/debian.sh +++ b/plugins/mongodb/versions/7.0/debian.sh @@ -42,7 +42,7 @@ if [ ! -d $MG_DIR/${FILE_NAME_TGZ} ];then cd $MG_DIR && tar -zxvf ${FILE_NAME_TGZ} fi -if [ ! -d $serverPath/mongodb/bin ];then +if [ ! -d $serverPath/mongodb/bin/mongod ];then mkdir -p $serverPath/mongodb cd $MG_DIR/${FILE_NAME} && cp -rf ./bin $serverPath/mongodb fi diff --git a/plugins/mongodb/versions/7.0/ubuntu.sh b/plugins/mongodb/versions/7.0/ubuntu.sh index 970020936..2b3469110 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 ];then +if [ ! -d $serverPath/mongodb/bin/mongod ];then mkdir -p $serverPath/mongodb cd $MG_DIR/${FILE_NAME} && cp -rf ./bin $serverPath/mongodb fi