Update install_coral_pve.sh

This commit is contained in:
MacRimi 2025-02-02 10:13:00 +01:00 committed by GitHub
parent 6375d43ce7
commit 117745cb05
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,26 +16,23 @@
# ==========================================================
# 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
initialize_cache
load_language
initialize_cache
# ==========================================================
# Prompt before installation
pre_install_prompt() {
if ! whiptail --title "Coral TPU Installation" --yesno "Installing Coral TPU drivers requires rebooting the server after installation. Do you want to proceed?" 8 60; then