Merge claude/2
This commit is contained in:
commit
cf87cbeb0f
@ -9,7 +9,10 @@ checkApplicationsConfigFilesMissingVariables()
|
||||
app=$(basename "$live" .config)
|
||||
remote="$install_containers_dir$app/$app.config"
|
||||
reconcileConfigFile "$live" "$remote"
|
||||
done < <(runFileOp find "$containers_dir" -maxdepth 2 -type f -name '*.config' ! -name '*.bak')
|
||||
# 2>/dev/null: before the docker-type config loads (early install) runFileOp
|
||||
# falls back to the manager, which can't list the container-owned containers/
|
||||
# dir — harmless "Permission denied" on a best-effort reconcile (no apps yet).
|
||||
done < <(runFileOp find "$containers_dir" -maxdepth 2 -type f -name '*.config' ! -name '*.bak' 2>/dev/null)
|
||||
|
||||
isSuccessful "Application config reconciliation completed."
|
||||
}
|
||||
|
||||
@ -61,7 +61,12 @@ sourceScanFiles()
|
||||
source "$file"
|
||||
# echo "$load_type FILE $file"
|
||||
fi
|
||||
done < <($scan_op find "$folder_dir" -maxdepth 3 -type d \( -name 'resources' \) -prune -o -type f -name "$file_pattern" -print0)
|
||||
# 2>/dev/null: early in an install the docker-type config isn't loaded
|
||||
# yet, so runFileOp falls back to the manager, which can't list the
|
||||
# container-owned containers/ dir — a harmless "Permission denied" on a
|
||||
# best-effort scan (no app configs exist yet). Suppress that noise; the
|
||||
# -print0 output still flows.
|
||||
done < <($scan_op find "$folder_dir" -maxdepth 3 -type d \( -name 'resources' \) -prune -o -type f -name "$file_pattern" -print0 2>/dev/null)
|
||||
fi
|
||||
|
||||
# Load the categories from the file into an array
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user