From 49917b0847f104d50216f46e86c1745b773d02c9 Mon Sep 17 00:00:00 2001 From: MacRimi Date: Tue, 25 Feb 2025 00:04:46 +0100 Subject: [PATCH] update --- install_proxmenux.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/install_proxmenux.sh b/install_proxmenux.sh index c921682..b364b66 100644 --- a/install_proxmenux.sh +++ b/install_proxmenux.sh @@ -41,16 +41,16 @@ INSTALL_DIR="/usr/local/bin" BASE_DIR="/usr/local/share/proxmenux" CONFIG_FILE="$BASE_DIR/config.json" CACHE_FILE="$BASE_DIR/cache.json" -#UTILS_FILE="$BASE_DIR/utils.sh" +UTILS_FILE="$BASE_DIR/utils.sh" LOCAL_VERSION_FILE="$BASE_DIR/version.txt" MENU_SCRIPT="menu" VENV_PATH="/opt/googletrans-env" -# Source utils.sh for common functions and styles -#if ! source <(curl -sSf "$UTILS_URL"); then -# echo "Error: Could not load utils.sh from $UTILS_URL" -# exit 1 -#fi + Source utils.sh for common functions and styles +if ! source <(curl -sSf "$UTILS_URL"); then + echo "Error: Could not load utils.sh from $UTILS_URL" + exit 1 +fi # ==========================================================