From 4c0d3952cb79c54d8f385d66bafb28163e86a8ff Mon Sep 17 00:00:00 2001 From: xtcnet Date: Tue, 17 Mar 2026 23:06:47 +0700 Subject: [PATCH] chore: update install.sh references from GitHub to Forgejo - Update header comment URL to src.d3v.ac/xtcnet/D3V-Server - Update self-update URL in do_update to fetch install.sh from Forgejo Co-Authored-By: Claude Sonnet 4.6 --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 539b3af..3315ff6 100644 --- a/install.sh +++ b/install.sh @@ -4,7 +4,7 @@ set -e # ============================================================ # D3V-NPMWG Installer for Ubuntu/Debian # xGat3 + WireGuard VPN -# https://github.com/xtcnet/D3V-NPMWG +# https://src.d3v.ac/xtcnet/D3V-Server # ============================================================ INSTALL_DIR="/opt/d3v-npmwg" @@ -421,7 +421,7 @@ do_update() { require_root log_step "Checking for install.sh updates..." - local remote_script_url="https://raw.githubusercontent.com/xtcnet/D3V-NPMWG/master/install.sh" + local remote_script_url="https://src.d3v.ac/xtcnet/D3V-Server/raw/branch/master/install.sh" if ! curl -sSL "$remote_script_url" | cmp -s "$0" -; then log_warn "A newer version of install.sh is available. Updating script..." curl -sSL "$remote_script_url" -o "$0"