漏改了个

This commit is contained in:
2024-07-16 22:10:47 +08:00
parent 9cfa2f8327
commit 0a203effd1

View File

@@ -65,7 +65,7 @@ select_app() {
local app_dir="/opt/apps/$app"
local run_script="$app_dir/files/run.sh"
local use_spark="否"
if grep -q "START_SHELL_PATH=\"$SHELL_DIR/../spark_run_v4.sh\"" "$run_script"; then
if if grep START_SHELL_PATH= "$run_script" | grep spark_run_v4.sh; then
use_spark="是"
fi
if [ "$use_spark" == "是" ]; then