fix chmod

This commit is contained in:
CanbiZ 2025-07-08 09:10:10 +02:00
parent 3eba4d1c83
commit e2abf4f204

View File

@ -997,7 +997,9 @@ function fetch_and_deploy_gh_release() {
return 1
}
chmod +x "$target/$app"
if [[ "$chmod_target" != *.jar && -f "$target/$chmod_target" ]]; then
chmod +x "$target/$chmod_target"
fi
else
msg_error "Unknown mode: $mode"