This commit is contained in:
Mr Chen
2024-07-20 11:39:17 +08:00
parent 18ed21b36a
commit 7fd3e4e0a7
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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'
+1 -1
View File
@@ -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