Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
midoks committed Jul 24, 2024
1 parent 0bcf046 commit dfaa041
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion plugins/mysql-apt/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion plugins/mysql-apt/versions/9.0/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dfaa041

Please sign in to comment.