mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 01:29:26 +08:00
update
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user