Update configure_igpu_lxc.sh

This commit is contained in:
MacRimi 2025-02-01 08:48:45 +01:00 committed by GitHub
parent 42931b912c
commit b4399d228f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,17 +26,13 @@
# ========================================================== # ==========================================================
# Configuration ============================================ # Configuration ============================================
UTILS_URL="https://raw.githubusercontent.com/MacRimi/ProxMenux/main/scripts/utils.sh"
BASE_DIR="/usr/local/share/proxmenux" BASE_DIR="/usr/local/share/proxmenux"
CACHE_FILE="$BASE_DIR/cache.json" UTILS_FILE="$BASE_DIR/utils.sh"
CONFIG_FILE="$BASE_DIR/config.json"
VENV_PATH="/opt/googletrans-env" VENV_PATH="/opt/googletrans-env"
if ! source <(curl -sSf "$UTILS_URL"); then if [[ -f "$UTILS_FILE" ]]; then
echo "$(translate 'Error: Could not load utils.sh from') $UTILS_URL" source "$UTILS_FILE"
exit 1
fi fi
initialize_cache initialize_cache
load_language load_language