diff --git a/scripts/post_install/customizable_post_install.sh b/scripts/post_install/customizable_post_install.sh index a9d48ed..63cebc9 100644 --- a/scripts/post_install/customizable_post_install.sh +++ b/scripts/post_install/customizable_post_install.sh @@ -49,7 +49,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" @@ -194,10 +194,10 @@ apt_upgrade() { if [[ "$pve_version" -ge 9 ]]; then - bash <(curl -fsSL "$REPO_URL/scripts/global/update-pve9_2.sh") + bash "$LOCAL_SCRIPTS/global/update-pve9_2.sh" else - bash <(curl -fsSL "$REPO_URL/scripts/global/update-pve8.sh") + bash "$LOCAL_SCRIPTS/global/update-pve8.sh" fi @@ -2902,10 +2902,10 @@ remove_subscription_banner() { if [[ "$pve_version" -ge 9 ]]; then - bash <(curl -fsSL "$REPO_URL/scripts/global/remove-banner-pve-v3.sh") + bash "$LOCAL_SCRIPTS/global/remove-banner-pve-v3.sh" else - bash <(curl -fsSL "$REPO_URL/scripts/global/remove-banner-pve8.sh") + bash "$LOCAL_SCRIPTS/global/remove-banner-pve8.sh" fi } @@ -4366,4 +4366,3 @@ done check_extremeshok_warning main_menu -