pull/618/head
Mr Chen 10 months ago
parent 18ed21b36a
commit 7fd3e4e0a7
  1. 4
      plugins/mysql-yum/index.py
  2. 2
      plugins/mysql-yum/versions/8.0/install.sh

@ -3470,8 +3470,8 @@ def installPreInspection(version):
sysName = sys[0].strip().lower()
sysId = sys_id[0].strip()
if not sysName in ['centos','almalinux','rocky']:
return '仅支持centos,almalinux,rocky'
if not sysName in ['centos','almalinux','rocky','opensuse']:
return '仅支持centos,almalinux,rocky,opensuse'
if (sysName == 'centos' and version == '5.7' and not sysId in('7',)):
return 'mysql5.7 仅支持centos7'

@ -35,7 +35,7 @@ if [ "$OSNAME" == "centos" ];then
OS_SIGN=1.el${VERSION_ID}
elif [ "$OSNAME" == "fedora" ]; then
OS_SIGN=10.fc${VERSION_ID}
elif [ "$OSNAME" == "suse" ]; then
elif [ "$OSNAME" == "opensuse" ]; then
OS_SIGN=1.sl${VERSION_ID}
fi

Loading…
Cancel
Save