diff --git a/plugins/mysql-apt/index.py b/plugins/mysql-apt/index.py index 280c5d5d23..a157ec7c4c 100755 --- a/plugins/mysql-apt/index.py +++ b/plugins/mysql-apt/index.py @@ -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) diff --git a/plugins/mysql-apt/versions/9.0/install.sh b/plugins/mysql-apt/versions/9.0/install.sh index 766521900a..9c6073b0cf 100755 --- a/plugins/mysql-apt/versions/9.0/install.sh +++ b/plugins/mysql-apt/versions/9.0/install.sh @@ -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