mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-03-11 01:14:58 +00:00
feat: refactor header content retrieval in LocalAGI installation script
This commit is contained in:
@@ -17,7 +17,13 @@ catch_errors
|
||||
setting_up_container
|
||||
network_check
|
||||
update_os
|
||||
header_info "$APP"
|
||||
header_content=""
|
||||
if declare -f get_header >/dev/null 2>&1; then
|
||||
header_content=$(get_header 2>/dev/null || true)
|
||||
fi
|
||||
if [[ -n "$header_content" ]]; then
|
||||
echo "$header_content"
|
||||
fi
|
||||
|
||||
# Decide which runtime backend label to use for LocalAGI.
|
||||
# Priority:
|
||||
|
||||
Reference in New Issue
Block a user