From 887b170c0e98bf91f799cbf1e638011dd6481419 Mon Sep 17 00:00:00 2001 From: cod378 Date: Mon, 3 Nov 2025 00:06:12 +0000 Subject: [PATCH] refactor: switch script to use local paths instead of remote URLs --- scripts/global/update-pve8.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/global/update-pve8.sh b/scripts/global/update-pve8.sh index 048bb45..d745f2b 100644 --- a/scripts/global/update-pve8.sh +++ b/scripts/global/update-pve8.sh @@ -4,7 +4,7 @@ # ========================================================== # Configuration -REPO_URL="https://raw.githubusercontent.com/MacRimi/ProxMenux/main" +LOCAL_SCRIPTS="/usr/local/share/proxmenux/scripts" BASE_DIR="/usr/local/share/proxmenux" UTILS_FILE="$BASE_DIR/utils.sh" VENV_PATH="/opt/googletrans-env" @@ -29,7 +29,7 @@ register_tool() { } download_common_functions() { - if ! source <(curl -s "$REPO_URL/scripts/global/common-functions.sh"); then + if ! source "$LOCAL_SCRIPTS/global/common-functions.sh"; then return 1 fi }