diff --git a/ct/headers/huntarr b/ct/headers/huntarr new file mode 100644 index 0000000..bf046cf --- /dev/null +++ b/ct/headers/huntarr @@ -0,0 +1,5 @@ +__ __ __ + / / / /_ ______ / /_____ ___________ + / /_/ / / / / __ \/ __/ __ `/ ___/ ___/ + / __ / /_/ / / / / /_/ /_/ / / / / +/_/ /_/\__, _/_/ /_/\__/\__, _/_/ /_/ diff --git a/lxc/huntarr.sh b/ct/huntarr.sh similarity index 92% rename from lxc/huntarr.sh rename to ct/huntarr.sh index 457d34c..9a374ad 100644 --- a/lxc/huntarr.sh +++ b/ct/huntarr.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +source <(curl -fsSL https://git.bila.li/Proxmox/proxmox-ve-install-scripts/raw/branch/dev/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/misc/api.func b/misc/api.func index 27438b9..aa15ac8 100644 --- a/misc/api.func +++ b/misc/api.func @@ -16,7 +16,8 @@ post_to_api() { return fi - local API_URL="http://api.community-scripts.org/upload" + # local API_URL="http://api.community-scripts.org/upload" + local API_URL="" local pve_version="not found" pve_version=$(pveversion | awk -F'[/ ]' '{print $2}') @@ -62,7 +63,8 @@ post_to_api_vm() { return fi - local API_URL="http://api.community-scripts.org/upload" + # local API_URL="http://api.community-scripts.org/upload" + local API_URL="" local pve_version="not found" pve_version=$(pveversion | awk -F'[/ ]' '{print $2}') @@ -102,7 +104,8 @@ post_update_to_api() { if [ "$POST_UPDATE_DONE" = true ]; then return 0 fi - local API_URL="http://api.community-scripts.org/upload/updatestatus" + # local API_URL="http://api.community-scripts.org/upload/updatestatus" + local API_URL="" local status="${1:-failed}" local error="${2:-No error message}" diff --git a/misc/build.func b/misc/build.func index f495c2c..7df5cf1 100644 --- a/misc/build.func +++ b/misc/build.func @@ -14,7 +14,7 @@ variables() { RANDOM_UUID="$(cat /proc/sys/kernel/random/uuid)" # generates a random UUID and sets it to the RANDOM_UUID variable. } -source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func) +source <(curl -fsSL https://git.bila.li/Proxmox/proxmox-ve-install-scripts/raw/branch/dev/misc/api.func) # This function sets various color variables using ANSI escape codes for formatting text in the terminal. color() { @@ -68,7 +68,7 @@ catch_errors() { # This function is called when an error occurs. It receives the exit code, line number, and command that caused the error, and displays an error message. error_handler() { - source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func) + source /dev/stdin <<<$(curl -fsSL https://git.bila.li/Proxmox/proxmox-ve-install-scripts/raw/branch/dev/misc/api.func) if [ -n "$SPINNER_PID" ] && ps -p "$SPINNER_PID" >/dev/null; then kill "$SPINNER_PID" >/dev/null; fi printf "\e[?25h" local exit_code="$?"