From 19b84d2f1671fa6535f1327cd339922c2190280e Mon Sep 17 00:00:00 2001 From: zhangmin Date: Fri, 7 Nov 2025 14:15:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81rhel=E8=A1=8D=E7=94=9F?= =?UTF-8?q?=E7=9A=84=E5=B8=B8=E7=94=A8os=E5=AE=9A=E6=97=B6=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E8=B7=AF=E5=BE=84rocky/almalinux/openEuler=EF=BC=8Cde?= =?UTF-8?q?bian/ubuntu=E4=BF=9D=E6=8C=81=E4=B8=8D=E5=8F=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/common.sh b/script/common.sh index a0f070f..e985f72 100644 --- a/script/common.sh +++ b/script/common.sh @@ -62,7 +62,7 @@ _set_var() { # 定时任务路径 local os_info=$(cat /etc/os-release) - echo "$os_info" | grep -iqsE "rhel|centos" && CLASH_CRON_TAB="/var/spool/cron/$user" + echo "$os_info" | grep -iqsE "rhel|centos|openEuler|Rocky|AlmaLinux" && CLASH_CRON_TAB="/var/spool/cron/$user" echo "$os_info" | grep -iqsE "debian|ubuntu" && CLASH_CRON_TAB="/var/spool/cron/crontabs/$user" } _set_var