From c15291255263395d8b7d391690a02c5d870a2654 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Sun, 30 Aug 2026 12:52:43 +0200 Subject: [PATCH] general: remove gitea links overall (#16863) * docker-vm, pve-privilege-converter: source from GitHub raw instead of gitea mirror * docker-vm, pve-privilege-converter, vm-core.func: source from GitHub raw instead of gitea mirror --- misc/alpine-install.func | 2 +- misc/core.func | 4 ---- misc/install.func | 2 +- misc/vm-core.func | 2 +- tools/pve/pve-privilege-converter.sh | 2 +- vm/docker-vm.sh | 6 +++--- 6 files changed, 7 insertions(+), 11 deletions(-) diff --git a/misc/alpine-install.func b/misc/alpine-install.func index 55cadeac1..36de2315b 100644 --- a/misc/alpine-install.func +++ b/misc/alpine-install.func @@ -136,7 +136,7 @@ network_check() { fi # DNS resolution checks for GitHub-related domains - GIT_HOSTS=("github.com" "raw.githubusercontent.com" "api.github.com" "git.community-scripts.org") + GIT_HOSTS=("github.com" "raw.githubusercontent.com" "api.github.com") GIT_STATUS="Git DNS:" DNS_FAILED=false diff --git a/misc/core.func b/misc/core.func index a7c48562e..4221d562f 100644 --- a/misc/core.func +++ b/misc/core.func @@ -10,10 +10,6 @@ # including colors, formatting, validation checks, message output, and # execution helpers used throughout the Community-Scripts ecosystem. # -# Usage: -# source <(curl -fsSL https://git.community-scripts.org/.../core.func) -# load_functions -# # ============================================================================== [[ -n "${_CORE_FUNC_LOADED:-}" ]] && return diff --git a/misc/install.func b/misc/install.func index 07cd2b30f..f49499699 100644 --- a/misc/install.func +++ b/misc/install.func @@ -211,7 +211,7 @@ network_check() { fi # DNS resolution checks for GitHub-related domains (IPv4 and/or IPv6) - GIT_HOSTS=("github.com" "raw.githubusercontent.com" "api.github.com" "git.community-scripts.org") + GIT_HOSTS=("github.com" "raw.githubusercontent.com" "api.github.com") GIT_STATUS="Git DNS:" DNS_FAILED=false diff --git a/misc/vm-core.func b/misc/vm-core.func index d6303264e..458501e94 100644 --- a/misc/vm-core.func +++ b/misc/vm-core.func @@ -14,7 +14,7 @@ declare -A MSG_INFO_SHOWN [[ -n "${_CORE_FUNC_LOADED:-}" ]] && return _CORE_FUNC_LOADED=1 -COMMUNITY_SCRIPTS_URL="${COMMUNITY_SCRIPTS_URL:-https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main}" +COMMUNITY_SCRIPTS_URL="${COMMUNITY_SCRIPTS_URL:-https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" load_api_functions() { if ! declare -f post_to_api_vm >/dev/null 2>&1; then diff --git a/tools/pve/pve-privilege-converter.sh b/tools/pve/pve-privilege-converter.sh index 3207bb74e..c9ecca773 100644 --- a/tools/pve/pve-privilege-converter.sh +++ b/tools/pve/pve-privilege-converter.sh @@ -10,7 +10,7 @@ if ! command -v curl >/dev/null 2>&1; then apt-get update >/dev/null 2>&1 apt-get install -y curl >/dev/null 2>&1 fi -source <(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/misc/core.func) +source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/core.func) source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func) 2>/dev/null || true load_functions declare -f init_tool_telemetry &>/dev/null && init_tool_telemetry "pve-privilege-converter" "pve" diff --git a/vm/docker-vm.sh b/vm/docker-vm.sh index 35d247333..45dc1594e 100644 --- a/vm/docker-vm.sh +++ b/vm/docker-vm.sh @@ -8,9 +8,9 @@ # Docker VM - Creates a Docker-ready Virtual Machine # ============================================================================== -source <(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/misc/api.func) 2>/dev/null -source <(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/misc/vm-core.func) 2>/dev/null -source <(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/misc/cloud-init.func) 2>/dev/null || true +source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func) +source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/vm-core.func) +source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/cloud-init.func) || true # ============================================================================== # SCRIPT VARIABLES