From 38c7b2d44e8f8096fe5f1c3f246e4a5ec6eaee84 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Sat, 20 Jul 2024 00:50:23 +0800 Subject: [PATCH] Update index.py --- plugins/php-yum/index.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/php-yum/index.py b/plugins/php-yum/index.py index c74110e9d..099245881 100755 --- a/plugins/php-yum/index.py +++ b/plugins/php-yum/index.py @@ -848,8 +848,8 @@ def installPreInspection(version): sysName = sys[0].strip().lower() sysId = sys_id[0].strip() - if not sysName in ('centos'): - return '暂时仅支持centos' + if not sysName in ['centos','almalinux']: + return '暂时仅支持centos,almalinux' return 'ok' except Exception as e: return str(e)