Update ubuntu.sh

This commit is contained in:
dami
2026-07-20 23:22:35 +08:00
parent 4ed2f0caa9
commit 7ed8558ff0
+1 -1
View File
@@ -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