This commit is contained in:
Mr Chen
2024-10-16 17:06:22 +08:00
parent a24b98cbea
commit 463d5c1b23
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ rootPath=$(dirname "$rootPath")
serverPath=$(dirname "$rootPath")
install_tmp=${rootPath}/tmp/mw_install.pl
VERSION=5.0.20
VERSION=5.0.29
MG_DIR=$serverPath/source/mongodb
mkdir -p $MG_DIR
+1 -1
View File
@@ -9,7 +9,7 @@ rootPath=$(dirname "$rootPath")
serverPath=$(dirname "$rootPath")
install_tmp=${rootPath}/tmp/mw_install.pl
VERSION=5.0.20
VERSION=5.0.29
SYS_ARCH=`arch`
SYS_VERSION_ID=`cat /etc/*-release | grep VERSION_ID | awk -F = '{print $2}' | awk -F "\"" '{print $2}' | awk -F . '{print $1}'`
+1
View File
@@ -14,6 +14,7 @@ SYS_ARCH=`arch`
SYS_VERSION_ID=`cat /etc/*-release | grep VERSION_ID | awk -F = '{print $2}' | awk -F "\"" '{print $2}'`
SYS_NAME=${SYS_VERSION_ID/./}
SYS_NAME="11"
if [ "$SYS_NAME" -gt "11" ];then
SYS_NAME="11"
fi