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 <noreply@anthropic.com>
This commit is contained in:
parent
91e493d81f
commit
4c0d3952cb
1 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue