From 1fff8e86ee6d43a726993a3dbd488847e09f47f8 Mon Sep 17 00:00:00 2001 From: xuans Date: Mon, 31 Aug 2026 13:56:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20Linux=20=E5=AE=89=E8=A3=85?= =?UTF-8?q?=E5=99=A8=E6=9D=83=E9=99=90=E5=85=BC=E5=AE=B9=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/install-linux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/install-linux.sh b/deploy/install-linux.sh index 848eb5a..3c749ca 100644 --- a/deploy/install-linux.sh +++ b/deploy/install-linux.sh @@ -146,7 +146,7 @@ validate_artifacts() { local artifact for artifact in scert scert-admin; do [[ -f "$source_dir/$artifact" ]] || fail "安装产物不存在:$source_dir/$artifact" - [[ -x "$source_dir/$artifact" ]] || fail "安装产物不可执行:$source_dir/$artifact" + [[ -r "$source_dir/$artifact" ]] || fail "安装产物不可执行:$source_dir/$artifact" done [[ -f "$source_dir/web/index.html" ]] || fail "缺少前端入口文件:$source_dir/web/index.html" [[ -f "$SCRIPT_DIR/systemd/Scert.service" ]] || fail "缺少 Scert systemd unit"