This commit is contained in:
Mr Chen
2024-07-24 21:03:48 +08:00
parent 0bcf0465a6
commit dfaa041843
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -3474,7 +3474,9 @@ def fullSync(version=''):
def installPreInspection(version):
arch_data = mw.execShell('arch')
if arch_data[0].strip().startswith('aarch'):
return '不支持aarch架构'
cmd = "cat /etc/*-release | grep PRETTY_NAME |awk -F = '{print $2}' | awk -F '\"' '{print $2}'| awk '{print $1}'"
sys = mw.execShell(cmd)
+1 -1
View File
@@ -20,7 +20,7 @@ bash ${rootPath}/scripts/getos.sh
OSNAME=`cat ${rootPath}/data/osname.pl`
VERSION_ID=`cat /etc/*-release | grep VERSION_ID | awk -F = '{print $2}' | awk -F "\"" '{print $2}'`
# cd /www/server/mdserver-web/plugins/mysql-apt && bash install.sh install 8.0
# cd /www/server/mdserver-web/plugins/mysql-apt && bash install.sh install 9.0
# 暂时debian12没有标准版,先用11使用
# if [ "$OSNAME" == 'debian' ] && [ "$VERSION_ID" == '12' ] ;then