!708 修复麒麟系统获取initFile失败问题

Merge pull request !708 from liuheng/fix42
This commit is contained in:
opengauss_bot 2024-02-29 01:45:40 +00:00 committed by Gitee
commit 63061178b8
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -904,7 +904,7 @@ class DefaultValue():
return initSystemFile
if (distname == "SuSE" and os.path.isfile(initFileSuse)):
initFile = initFileSuse
elif (distname in ("redhat", "centos", "euleros", "openEuler", "FusionOS") and
elif (distname in ("redhat", "centos", "euleros", "openEuler", "FusionOS", "kylin") and
os.path.isfile(initFileRedhat)):
initFile = initFileRedhat
elif (distname == "debian" and version == "buster/sid" and