From 9b93b83783d60b273c298e46f937a594a23929c6 Mon Sep 17 00:00:00 2001 From: MacRimi <123239993+MacRimi@users.noreply.github.com> Date: Sun, 2 Feb 2025 10:11:38 +0100 Subject: [PATCH] Update install_coral_lxc.sh --- scripts/install_coral_lxc.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/scripts/install_coral_lxc.sh b/scripts/install_coral_lxc.sh index ffc1f44..2e4081c 100644 --- a/scripts/install_coral_lxc.sh +++ b/scripts/install_coral_lxc.sh @@ -24,21 +24,20 @@ # ========================================================== # Configuration ============================================ -UTILS_URL="https://raw.githubusercontent.com/MacRimi/ProxMenux/main/scripts/utils.sh" +REPO_URL="https://raw.githubusercontent.com/MacRimi/ProxMenux/main" BASE_DIR="/usr/local/share/proxmenux" -CACHE_FILE="$BASE_DIR/cache.json" -CONFIG_FILE="$BASE_DIR/config.json" +UTILS_FILE="$BASE_DIR/utils.sh" VENV_PATH="/opt/googletrans-env" -if ! source <(curl -sSf "$UTILS_URL"); then - echo "$(translate 'Error: Could not load utils.sh from') $UTILS_URL" - exit 1 +if [[ -f "$UTILS_FILE" ]]; then + source "$UTILS_FILE" fi load_language initialize_cache # ========================================================== + # Select LXC container select_container() { clear