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