testing wget

This commit is contained in:
CanbiZ
2025-05-07 13:55:07 +02:00
parent 577bab0f4b
commit 94c8332c5f
4 changed files with 28 additions and 8 deletions

View File

@@ -16,8 +16,13 @@ variables() {
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/api.func)
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/core.func)
color
if command -v curl >/dev/null 2>&1; then
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/core.func)
load_functions
elif command -v wget >/dev/null 2>&1; then
source <(wget -qO- https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/core.func)
load_functions
fi
# # This function sets various color variables using ANSI escape codes for formatting text in the terminal.
# color() {