From 1bde893dd9b9b3304b70f498d4434ed6e3021fa5 Mon Sep 17 00:00:00 2001 From: MintHCM-admin Date: Thu, 18 Dec 2025 10:31:19 +0100 Subject: [PATCH] change urls for testing purposes --- ct/minthcm.sh | 2 +- install/minthcm-install.sh | 2 -- misc/build.func | 8 ++++---- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/ct/minthcm.sh b/ct/minthcm.sh index c6f4c689f..353473586 100644 --- a/ct/minthcm.sh +++ b/ct/minthcm.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/build.func) +source <(curl -fsSL https://raw.githubusercontent.com/minthcm/ProxmoxVED/feature/minthcm/misc/build.func) # Copyright (c) 2021-2025 minthcm # Author: MintHCM # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/install/minthcm-install.sh b/install/minthcm-install.sh index b4e99ffcd..660a6dc55 100644 --- a/install/minthcm-install.sh +++ b/install/minthcm-install.sh @@ -13,8 +13,6 @@ setting_up_container network_check update_os -MINT_REPO="https://github.com/minthcm/minthcm.git" - msg_info "Setting up PHP 8.2" PHP_APACHE="YES" PHP_VERSION="8.2" PHP_MODULE="mysql,cli,redis" PHP_FPM="YES" setup_php msg_ok "Set up PHP 8.2" diff --git a/misc/build.func b/misc/build.func index 7ce994d1e..5427067ec 100644 --- a/misc/build.func +++ b/misc/build.func @@ -91,7 +91,7 @@ variables() { # FUNC_DIR="/usr/local/community-scripts/core" # mkdir -p "$FUNC_DIR" -# BUILD_URL="https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/build.func" +# BUILD_URL="https://raw.githubusercontent.com/minthcm/ProxmoxVED/feature/minthcm/misc/build.func" # BUILD_REV="$FUNC_DIR/build.rev" # DEVMODE="${DEVMODE:-no}" @@ -116,7 +116,7 @@ variables() { # update_func_file() { # local file="$1" -# local url="https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/$file" +# local url="https://raw.githubusercontent.com/minthcm/ProxmoxVED/feature/minthcm/misc/$file" # local local_path="$FUNC_DIR/$file" # echo "⬇️ Downloading $file ..." @@ -3199,7 +3199,7 @@ EOF' set +Eeuo pipefail # Disable ALL error handling temporarily trap - ERR # Remove ERR trap completely - lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/install/${var_install}.sh)" + lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/minthcm/ProxmoxVED/feature/minthcm/install/${var_install}.sh)" local lxc_exit=$? set -Eeuo pipefail # Re-enable error handling @@ -3286,7 +3286,7 @@ EOF' if [[ "${DEV_MODE_MOTD:-false}" == "true" ]]; then echo -e "${TAB}${HOLD}${DGN}Setting up MOTD and SSH for debugging...${CL}" if pct exec "$CTID" -- bash -c " - source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/install.func) + source <(curl -fsSL https://raw.githubusercontent.com/minthcm/ProxmoxVED/feature/minthcm/misc/install.func) declare -f motd_ssh >/dev/null 2>&1 && motd_ssh || true " >/dev/null 2>&1; then local ct_ip=$(pct exec "$CTID" ip a s dev eth0 2>/dev/null | awk '/inet / {print $2}' | cut -d/ -f1)