修复 Linux 安装器权限兼容性
This commit is contained in:
parent
b2f8030216
commit
1fff8e86ee
@ -146,7 +146,7 @@ validate_artifacts() {
|
|||||||
local artifact
|
local artifact
|
||||||
for artifact in scert scert-admin; do
|
for artifact in scert scert-admin; do
|
||||||
[[ -f "$source_dir/$artifact" ]] || fail "安装产物不存在:$source_dir/$artifact"
|
[[ -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
|
done
|
||||||
[[ -f "$source_dir/web/index.html" ]] || fail "缺少前端入口文件:$source_dir/web/index.html"
|
[[ -f "$source_dir/web/index.html" ]] || fail "缺少前端入口文件:$source_dir/web/index.html"
|
||||||
[[ -f "$SCRIPT_DIR/systemd/Scert.service" ]] || fail "缺少 Scert systemd unit"
|
[[ -f "$SCRIPT_DIR/systemd/Scert.service" ]] || fail "缺少 Scert systemd unit"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user