This commit is contained in:
CanbiZ 2025-05-20 09:16:53 +02:00
parent cd808970cc
commit 8428c9a449
3 changed files with 3 additions and 1 deletions

View File

@ -19,10 +19,12 @@ source <(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxV
if command -v curl >/dev/null 2>&1; then
source <(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/misc/core.func)
load_functions
setup_trap_abort_handling
#echo "(build.func) Loaded core.func via curl"
elif command -v wget >/dev/null 2>&1; then
source <(wget -qO- https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/misc/core.func)
load_functions
setup_trap_abort_handling
#echo "(build.func) Loaded core.func via wget"
fi

View File

@ -30,7 +30,6 @@ _CORE_FUNC_LOADED=1
load_functions() {
[[ -n "${__FUNCTIONS_LOADED:-}" ]] && return
__FUNCTIONS_LOADED=1
setup_trap_abort_handling
color
formatting
icons

View File

@ -12,6 +12,7 @@ if ! command -v curl >/dev/null 2>&1; then
fi
source <(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/misc/core.func)
load_functions
setup_trap_abort_handling
# # Function to set STD mode based on verbosity
# set_std_mode() {