From 45fd4d2d9896856d28888291dc1594c87e3b0875 Mon Sep 17 00:00:00 2001 From: John Doe Date: Wed, 4 Mar 2026 12:17:58 -0500 Subject: [PATCH] fix: remove dynamic COMMUNITY_SCRIPTS_URL assignment and header creation logic in localagi.sh --- ct/localagi.sh | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/ct/localagi.sh b/ct/localagi.sh index 5391f58f8..b46eca0c4 100644 --- a/ct/localagi.sh +++ b/ct/localagi.sh @@ -1,6 +1,5 @@ #!/usr/bin/env bash -COMMUNITY_SCRIPTS_URL="${COMMUNITY_SCRIPTS_URL:-${COMMUNITY_SCRIPT_URL:-https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main}}" -source <(curl -fsSL "$COMMUNITY_SCRIPTS_URL/misc/build.func") +source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/build.func) # Copyright (c) 2021-2026 community-scripts ORG # Author: BillyOutlast @@ -17,19 +16,6 @@ var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" var_gpu="${var_gpu:-no}" -LOCALAGI_HEADER_PATH="/usr/local/community-scripts/headers/ct/localagi" -if [[ ! -s "$LOCALAGI_HEADER_PATH" ]]; then - mkdir -p "$(dirname "$LOCALAGI_HEADER_PATH")" - cat <<'EOF' >"$LOCALAGI_HEADER_PATH" - __ __ ___ __________ - / / ____ ________ _/ / / | / ____/ _/ - / / / __ \/ ___/ __ `/ / / /| |/ / __ / / - / /___/ /_/ / /__/ /_/ / / / ___ / /_/ // / -/_____/\____/\___/\__,_/_/ /_/ |_\____/___/ - -EOF -fi - header_info "$APP" variables color