From d827d42968da9da61a4c0ed266580b004061e351 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Sun, 5 Jan 2025 17:02:27 +0100 Subject: [PATCH 01/12] [Breaking] Update Zigbee2mqtt to v.2.0.0 (Read PR Description) (#1221) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix Zigbee2MQTT BreakingChange to Version 2.0.0 * Update zigbee2mqtt.sh * Fix Installation Zigbee2Mqtt 2.0.0 * Fix Zigbee2MQTT V.2.0.0 * Update zigbee2mqtt-install.sh * update script * Update install/zigbee2mqtt-install.sh Co-authored-by: Sébastiaan * add pnpm build * add pnpm build * update nodejs * Update ct/zigbee2mqtt.sh Co-authored-by: Sébastiaan --------- Co-authored-by: Sébastiaan --- ct/zigbee2mqtt.sh | 114 +++++++++------------------------ install/zigbee2mqtt-install.sh | 49 ++++++++------ 2 files changed, 59 insertions(+), 104 deletions(-) diff --git a/ct/zigbee2mqtt.sh b/ct/zigbee2mqtt.sh index 04f4646d..591e19bb 100644 --- a/ct/zigbee2mqtt.sh +++ b/ct/zigbee2mqtt.sh @@ -32,91 +32,35 @@ function update_script() { msg_error "No ${APP} Installation Found!" exit fi - if [[ "$(node -v | cut -d 'v' -f 2)" == "18."* ]]; then - if ! command -v npm >/dev/null 2>&1; then - echo "Installing NPM..." - apt-get install -y npm >/dev/null 2>&1 - echo "Installed NPM..." - fi + RELEASE=$(curl -s https://api.github.com/repos/Koenkk/zigbee2mqtt/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') + if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]]; then + msg_info "Stopping Service" + systemctl stop zigbee2mqtt + msg_ok "Stopped Service" + + msg_info "Creating Backup" + mkdir -p /opt/z2m_backup + tar -czf /opt/z2m_backup/${APP}_backup_$(date +%Y%m%d%H%M%S).tar.gz -C /opt zigbee2mqtt &>/dev/null + mv /opt/zigbee2mqtt/data /opt/z2m_backup + msg_ok "Backup Created" + + msg_info "Updating ${APP} to v${RELEASE}" + cd /opt + wget -q "https://github.com/Koenkk/zigbee2mqtt/archive/refs/tags/${RELEASE}.zip" + unzip -q ${RELEASE}.zip + mv zigbee2mqtt-${RELEASE} /opt/zigbee2mqtt + rm -rf /opt/zigbee2mqtt/data + mv /opt/z2m_backup/data /opt/zigbee2mqtt + cd /opt/zigbee2mqtt + pnpm install --frozen-lockfile &>/dev/null + pnpm build &>/dev/null + msg_info "Starting Service" + systemctl start zigbee2mqtt + msg_ok "Started Service" + echo "${RELEASE}" >/opt/${APP}_version.txt + else + msg_ok "No update required. ${APP} is already at v${RELEASE}." fi - cd /opt/zigbee2mqtt - - stop_zigbee2mqtt() { - if which systemctl 2>/dev/null >/dev/null; then - echo "Shutting down Zigbee2MQTT..." - sudo systemctl stop zigbee2mqtt - else - echo "Skipped stopping Zigbee2MQTT, no systemctl found" - fi - } - - start_zigbee2mqtt() { - if which systemctl 2>/dev/null >/dev/null; then - echo "Starting Zigbee2MQTT..." - sudo systemctl start zigbee2mqtt - else - echo "Skipped starting Zigbee2MQTT, no systemctl found" - fi - } - - set -e - - if [ -d data-backup ]; then - echo "ERROR: Backup directory exists. May be previous restoring was failed?" - echo "1. Save 'data-backup' and 'data' dirs to safe location to make possibility to restore config later." - echo "2. Manually delete 'data-backup' dir and try again." - exit 1 - fi - - stop_zigbee2mqtt - - echo "Generating a backup of the configuration..." - cp -R data data-backup || { - echo "Failed to create backup." - exit 1 - } - - echo "Checking if any changes were made to package-lock.json..." - git checkout package-lock.json || { - echo "Failed to check package-lock.json." - exit 1 - } - - echo "Initiating update..." - if ! git pull; then - echo "Update failed, temporarily storing changes and trying again." - git stash && git pull || ( - echo "Update failed even after storing changes. Aborting." - exit 1 - ) - fi - - echo "Acquiring necessary components..." - npm ci || { - echo "Failed to install necessary components." - exit 1 - } - - echo "Building..." - npm run build || { - echo "Failed to build new version." - exit 1 - } - - echo "Restoring configuration..." - cp -R data-backup/* data || { - echo "Failed to restore configuration." - exit 1 - } - - rm -rf data-backup || { - echo "Failed to remove backup directory." - exit 1 - } - - start_zigbee2mqtt - - echo "Done!" exit } @@ -127,4 +71,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:9442${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:9442${CL}" diff --git a/install/zigbee2mqtt-install.sh b/install/zigbee2mqtt-install.sh index 516fc3b0..bb012e99 100644 --- a/install/zigbee2mqtt-install.sh +++ b/install/zigbee2mqtt-install.sh @@ -14,21 +14,22 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y curl -$STD apt-get install -y sudo -$STD apt-get install -y mc -$STD apt-get install -y git -$STD apt-get install -y make -$STD apt-get install -y g++ -$STD apt-get install -y gcc -$STD apt-get install -y ca-certificates -$STD apt-get install -y gnupg +$STD apt-get install -y \ + curl \ + sudo \ + mc \ + git \ + make \ + g++ \ + gcc \ + ca-certificates \ + gnupg msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" mkdir -p /etc/apt/keyrings curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg -echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" >/etc/apt/sources.list.d/nodesource.list +echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_22.x nodistro main" >/etc/apt/sources.list.d/nodesource.list msg_ok "Set up Node.js Repository" msg_info "Installing Node.js" @@ -36,37 +37,47 @@ $STD apt-get update $STD apt-get install -y nodejs msg_ok "Installed Node.js" -msg_info "Setting up Zigbee2MQTT Repository" -$STD git clone --depth 1 https://github.com/Koenkk/zigbee2mqtt.git /opt/zigbee2mqtt -msg_ok "Set up Zigbee2MQTT Repository" +msg_info "Installing pnpm" +$STD npm install -g pnpm +msg_ok "Installed pnpm" -msg_info "Installing Zigbee2MQTT" +msg_info "Setting up Zigbee2MQTT" +cd /opt +$STD corepack enable +RELEASE=$(curl -s https://api.github.com/repos/Koenkk/zigbee2mqtt/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') +wget -q "https://github.com/Koenkk/zigbee2mqtt/archive/refs/tags/${RELEASE}.zip" +unzip -q ${RELEASE}.zip +mv zigbee2mqtt-${RELEASE} /opt/zigbee2mqtt +cd /opt/zigbee2mqtt/data +mv configuration.example.yaml configuration.yaml cd /opt/zigbee2mqtt -$STD npm ci +$STD pnpm install --frozen-lockfile +$STD pnpm build msg_ok "Installed Zigbee2MQTT" msg_info "Creating Service" -service_path="/etc/systemd/system/zigbee2mqtt.service" +cat </etc/systemd/system/zigbee2mqtt.service echo "[Unit] Description=zigbee2mqtt After=network.target [Service] Environment=NODE_ENV=production -ExecStart=/usr/bin/npm start +ExecStart=/usr/bin/pnpm start WorkingDirectory=/opt/zigbee2mqtt StandardOutput=inherit StandardError=inherit Restart=always User=root [Install] -WantedBy=multi-user.target" >$service_path -$STD systemctl enable zigbee2mqtt.service +EOF +systemctl enable -q --now zigbee2mqtt.service msg_ok "Created Service" motd_ssh customize msg_info "Cleaning up" +rm -rf /opt/${RELEASE}.zip $STD apt-get -y autoremove $STD apt-get -y autoclean msg_ok "Cleaned" From 0e84eba9d2869d70d800576dd48da637bd2dbbf6 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Sun, 5 Jan 2025 17:57:35 +0100 Subject: [PATCH 02/12] Update zigbee2mqtt-install.sh --- install/zigbee2mqtt-install.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/install/zigbee2mqtt-install.sh b/install/zigbee2mqtt-install.sh index bb012e99..f35316ba 100644 --- a/install/zigbee2mqtt-install.sh +++ b/install/zigbee2mqtt-install.sh @@ -43,7 +43,6 @@ msg_ok "Installed pnpm" msg_info "Setting up Zigbee2MQTT" cd /opt -$STD corepack enable RELEASE=$(curl -s https://api.github.com/repos/Koenkk/zigbee2mqtt/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') wget -q "https://github.com/Koenkk/zigbee2mqtt/archive/refs/tags/${RELEASE}.zip" unzip -q ${RELEASE}.zip @@ -57,7 +56,7 @@ msg_ok "Installed Zigbee2MQTT" msg_info "Creating Service" cat </etc/systemd/system/zigbee2mqtt.service -echo "[Unit] +[Unit] Description=zigbee2mqtt After=network.target [Service] From abfd5e086df2a763fb64a639e2fc7824dd5ba36f Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Sun, 5 Jan 2025 18:00:24 +0100 Subject: [PATCH 03/12] Update zigbee2mqtt-install.sh --- install/zigbee2mqtt-install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install/zigbee2mqtt-install.sh b/install/zigbee2mqtt-install.sh index f35316ba..faf08b57 100644 --- a/install/zigbee2mqtt-install.sh +++ b/install/zigbee2mqtt-install.sh @@ -68,6 +68,7 @@ StandardError=inherit Restart=always User=root [Install] +WantedBy=multi-user.target EOF systemctl enable -q --now zigbee2mqtt.service msg_ok "Created Service" From 81ffa34497a0d1de4a6f4140cb53b86046102f4b Mon Sep 17 00:00:00 2001 From: oOStroudyOo <111181956+oOStroudyOo@users.noreply.github.com> Date: Sun, 5 Jan 2025 17:08:25 +0000 Subject: [PATCH 04/12] Add RAM and Disk units (#1261) * Add RAM and Disk units * MB to MiB --- misc/build.func | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/misc/build.func b/misc/build.func index 4ed08f52..d83c99e8 100644 --- a/misc/build.func +++ b/misc/build.func @@ -316,7 +316,7 @@ echo_default() { echo -e "${CONTAINERTYPE}${BOLD}${DGN}Container Type: ${BGN}$CT_TYPE_DESC${CL}" echo -e "${DISKSIZE}${BOLD}${DGN}Disk Size: ${BGN}${DISK_SIZE}GB${CL}" echo -e "${CPUCORE}${BOLD}${DGN}CPU Cores: ${BGN}${CORE_COUNT}${CL}" - echo -e "${RAMSIZE}${BOLD}${DGN}RAM Size: ${BGN}${RAM_SIZE}MB${CL}" + echo -e "${RAMSIZE}${BOLD}${DGN}RAM Size: ${BGN}${RAM_SIZE}MiB${CL}" echo -e "${CONTAINERID}${BOLD}${DGN}Container ID: ${BGN}${CT_ID}${CL}" if [ "$VERB" == "yes" ]; then echo -e "${SEARCH}${BOLD}${DGN}Verbose Mode: ${BGN}Enabled${CL}" @@ -463,13 +463,13 @@ advanced_settings() { if DISK_SIZE=$(whiptail --backtitle "Proxmox VE Helper Scripts" --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DISK SIZE" 3>&1 1>&2 2>&3); then if [ -z "$DISK_SIZE" ]; then DISK_SIZE="$var_disk" - echo -e "${DISKSIZE}${DGN}Disk Size: ${BGN}$DISK_SIZE${CL}" + echo -e "${DISKSIZE}${BOLD}${DGN}Disk Size: ${BGN}${DISK_SIZE}GB${CL}" else if ! [[ $DISK_SIZE =~ $INTEGER ]]; then echo -e "{INFO}${HOLD}${RD} DISK SIZE MUST BE AN INTEGER NUMBER!${CL}" advanced_settings fi - echo -e "${DISKSIZE}${BOLD}${DGN}Disk Size: ${BGN}$DISK_SIZE${CL}" + echo -e "${DISKSIZE}${BOLD}${DGN}Disk Size: ${BGN}${DISK_SIZE}GB${CL}" fi else exit_script @@ -489,9 +489,9 @@ advanced_settings() { if RAM_SIZE=$(whiptail --backtitle "Proxmox VE Helper Scripts" --inputbox "Allocate RAM in MiB" 8 58 $var_ram --title "RAM" 3>&1 1>&2 2>&3); then if [ -z "$RAM_SIZE" ]; then RAM_SIZE="$var_ram" - echo -e "${RAMSIZE}${BOLD}${DGN}RAM Size: ${BGN}$RAM_SIZE${CL}" + echo -e "${RAMSIZE}${BOLD}${DGN}RAM Size: ${BGN}${RAM_SIZE}MiB${CL}" else - echo -e "${RAMSIZE}${BOLD}${DGN}RAM Size: ${BGN}$RAM_SIZE${CL}" + echo -e "${RAMSIZE}${BOLD}${DGN}RAM Size: ${BGN}${RAM_SIZE}MiB${CL}" fi else exit_script From 144182d22cdd25e04c46c79a299ce6eb07829563 Mon Sep 17 00:00:00 2001 From: "community-scripts-pr-app[bot]" <189241966+community-scripts-pr-app[bot]@users.noreply.github.com> Date: Sun, 5 Jan 2025 18:15:03 +0100 Subject: [PATCH 05/12] Update CHANGELOG.md (#1263) Co-authored-by: github-actions[bot] --- CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8010f6db..9c98aef0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,18 @@ All LXC instances created using this repository come pre-installed with Midnight > [!IMPORTANT] Do not break established syntax in this file, as it is automatically updated by a Github Workflow +## 2025-01-05 + +### Changed + +### 💥 Breaking Changes + +- [Breaking] Update Zigbee2mqtt to v.2.0.0 (Read PR Description) [@MickLesk](https://github.com/MickLesk) ([#1221](https://github.com/community-scripts/ProxmoxVE/pull/1221)) + +### ❔ Unlabelled + +- Add RAM and Disk units [@oOStroudyOo](https://github.com/oOStroudyOo) ([#1261](https://github.com/community-scripts/ProxmoxVE/pull/1261)) + ## 2025-01-04 ### Changed From a0baf1cecc3fbd450af3e668450d7412f1e20de2 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Sun, 5 Jan 2025 23:24:17 +0100 Subject: [PATCH 06/12] fix 5etools install --- install/5etools-install.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/install/5etools-install.sh b/install/5etools-install.sh index c1a3cd94..1e2da9c7 100644 --- a/install/5etools-install.sh +++ b/install/5etools-install.sh @@ -38,6 +38,7 @@ msg_ok "Installed Node.js" # Setup App msg_info "Set up 5etools Base" +cd /opt RELEASE=$(curl -s https://api.github.com/repos/5etools-mirror-3/5etools-src/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') wget -q "https://github.com/5etools-mirror-3/5etools-src/archive/refs/tags/${RELEASE}.zip" unzip -q "${RELEASE}.zip" @@ -45,18 +46,16 @@ mv "5etools-src-${RELEASE:1}" /opt/5etools cd /opt/5etools $STD npm install $STD npm run build -cd ~ echo "${RELEASE}" >"/opt/5etools_version.txt" -rm "${RELEASE}.zip" msg_ok "Set up 5etools Base" msg_info "Set up 5etools Image" +cd /opt IMG_RELEASE=$(curl -s https://api.github.com/repos/5etools-mirror-2/5etools-img/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') curl -sSL "https://github.com/5etools-mirror-2/5etools-img/archive/refs/tags/${IMG_RELEASE}.zip" > "${IMG_RELEASE}.zip" unzip -q "${IMG_RELEASE}.zip" mv "5etools-img-${IMG_RELEASE:1}" /opt/5etools/img echo "${IMG_RELEASE}" >"/opt/5etools_IMG_version.txt" -rm "${IMG_RELEASE}.zip" msg_ok "Set up 5etools Image" msg_info "Creating Service" @@ -74,6 +73,8 @@ chmod -R 755 "/opt/5etools" msg_ok "Created Service" msg_info "Cleaning up" +rm -rf /opt/${IMG_RELEASE}.zip +rm -rf /opt/${RELEASE}.zip $STD apt-get -y autoremove $STD apt-get -y autoclean msg_ok "Cleaned" From 84d36eba84c07057c86f30979a695d5fb4167c31 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Sun, 5 Jan 2025 23:28:24 +0100 Subject: [PATCH 07/12] Update 5etools --- ct/5etools.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/ct/5etools.sh b/ct/5etools.sh index b0a0df27..177cdfa4 100644 --- a/ct/5etools.sh +++ b/ct/5etools.sh @@ -57,14 +57,12 @@ function update_script() { $STD npm run build cd ~ echo "${RELEASE}" >"/opt/${APP}_version.txt" - msg_ok "Updated base 5etools" - chown -R www-data: "/opt/${APP}" chmod -R 755 "/opt/${APP}" - + msg_ok "Updated base 5etools" # Cleaning up msg_info "Cleaning Up" - rm "${RELEASE}.zip" + rm -rf /opt/${RELEASE}.zip $STD apt-get -y autoremove $STD apt-get -y autoclean msg_ok "Cleanup Completed" @@ -87,11 +85,11 @@ function update_script() { rm -rf "/opt/${APP}/img" mv "${APP}-img-${IMG_RELEASE:1}" "/opt/${APP}/img" echo "${IMG_RELEASE}" >"/opt/${APP}_IMG_version.txt" - msg_ok "Updating 5etools images" - chown -R www-data: "/opt/${APP}" chmod -R 755 "/opt/${APP}" + msg_ok "Updating 5etools images" + # Cleaning up msg_info "Cleaning Up" rm -rf /opt/${RELEASE}.zip From 817455360e86909279559c14cf74453d5ea41643 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastiaan?= Date: Mon, 6 Jan 2025 07:54:38 +0100 Subject: [PATCH 08/12] ci: combine header checks into workflow with PR comment (#1257) * Combine all headers checks into workflow with steps that end with a PR comment * Test * Change name because it is more than headers --- .github/check-script.yml | 54 ------- .github/workflows/check-metadata.yml | 55 ------- .github/workflows/validate-scripts.yml | 214 +++++++++++++++++++++++++ 3 files changed, 214 insertions(+), 109 deletions(-) delete mode 100644 .github/check-script.yml delete mode 100644 .github/workflows/check-metadata.yml create mode 100644 .github/workflows/validate-scripts.yml diff --git a/.github/check-script.yml b/.github/check-script.yml deleted file mode 100644 index 560bc396..00000000 --- a/.github/check-script.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: Check Shell Scripts - -on: - pull_request: - paths: - - '**/*.sh' # Führt den Check nur für Shell-Skripte aus - -jobs: - check-scripts: - runs-on: ubuntu-latest - - steps: - - name: Checkout Code - uses: actions/checkout@v3 - - - name: Check `source` Line in Scripts - shell: bash - run: | - set -e - ERROR_COUNT=0 - FILES=$(find . -name "*.sh") - - for FILE in $FILES; do - # Check for exact match of the source line in line 2 - if [[ $(sed -n '2p' "$FILE") =~ ^source[[:space:]]+<(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) ]]; then - echo "Check passed for: $FILE" - else - echo "Error in $FILE: Line 2 must be exactly 'source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)' if a source line is used." - ERROR_COUNT=$((ERROR_COUNT + 1)) - fi - - # Check for shebang line at the top - if [[ $(head -n 1 "$FILE") != "#!/usr/bin/env bash" ]]; then - echo "Error in $FILE: The first line must be '#!/usr/bin/env bash'." - ERROR_COUNT=$((ERROR_COUNT + 1)) - fi - - # Check for executable permissions - if [[ ! -x "$FILE" ]]; then - echo "Warning in $FILE: This script is not executable. Consider running 'chmod +x $FILE'." - fi - - # Check for empty lines at the beginning of the script - if [[ $(head -n 10 "$FILE" | grep -c '^$') -gt 0 ]]; then - echo "Warning in $FILE: There are empty lines at the beginning of the script. Consider removing them." - fi - done - - if [[ "$ERROR_COUNT" -gt 0 ]]; then - echo "$ERROR_COUNT script(s) failed validation." - exit 1 - else - echo "All scripts passed." - fi diff --git a/.github/workflows/check-metadata.yml b/.github/workflows/check-metadata.yml deleted file mode 100644 index 67159feb..00000000 --- a/.github/workflows/check-metadata.yml +++ /dev/null @@ -1,55 +0,0 @@ -name: Check Metadata -on: - pull_request: - paths: - - '/ct/*.sh' - - '/install/*.sh' -jobs: - check-metadata: - runs-on: ubuntu-latest - steps: - - name: Checkout Code - uses: actions/checkout@v4 - - name: Check Metadata Lines in Scripts - shell: bash - run: | - set -e - ERROR_COUNT=0 - FILES=$(find . -name "*.sh") - - for FILE in $FILES; do - if [[ "$(sed -n '3p' "$FILE")" == "# Copyright (c) 2021-2024 community-scripts ORG" ]]; then - echo "Check for Copyright metadata passed for line 3 in: $FILE" - else - echo "Error in $FILE: Copyright metadata missing or not on line 3" - ERROR_COUNT=$((ERROR_COUNT + 1)) - fi - - if sed -n '4p' "$FILE" | grep -qE "^# Author: .+"; then - echo "Check for Author metadata passed for line 4 in: $FILE" - else - echo "Error in $FILE: Author metadata missing or invalid on line 4" - ERROR_COUNT=$((ERROR_COUNT + 1)) - fi - - if [[ "$(sed -n '5p' "$FILE")" == "# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE" ]]; then - echo "Check for License metadata passed for line 5 in: $FILE" - else - echo "Error in $FILE: License metadata missing or not on line 5" - ERROR_COUNT=$((ERROR_COUNT + 1)) - fi - - if sed -n '6p' "$FILE" | grep -qE "^# Source: .+"; then - echo "Check for Source metadata passed for line 6 in: $FILE" - else - echo "Error in $FILE: Source metadata missing or invalid on line 6" - ERROR_COUNT=$((ERROR_COUNT + 1)) - fi - done - - if [[ "$ERROR_COUNT" -gt 0 ]]; then - echo "$ERROR_COUNT script(s) failed validation." - exit 1 - else - echo "All scripts passed." - fi diff --git a/.github/workflows/validate-scripts.yml b/.github/workflows/validate-scripts.yml new file mode 100644 index 00000000..10d6182d --- /dev/null +++ b/.github/workflows/validate-scripts.yml @@ -0,0 +1,214 @@ +name: Validate scripts +on: + push: + branches: + - main + pull_request: + paths: + - "ct/*.sh" + - "install/*.sh" + - ".github/workflows/validate-scripts.yml" + +jobs: + check-scripts: + name: Check changed files + runs-on: ubuntu-latest + permissions: + pull-requests: write + + steps: + - name: Checkout code + uses: actions/checkout@v4 + with: + fetch-depth: ${{ github.event_name == 'pull_request' && 2 || 0 }} + + - name: Get changed files + id: changed-files + run: | + if ${{ github.event_name == 'pull_request' }}; then + echo "files=$(git diff --name-only -r HEAD^1 HEAD | grep -E '\.(sh|func)$' | xargs)" >> $GITHUB_OUTPUT + else + echo "files=$(git diff --name-only ${{ github.event.before }} ${{ github.event.after }} | grep -E '\.(sh|func)$' | xargs)" >> $GITHUB_OUTPUT + fi + + - name: Check build.func line + if: always() && steps.changed-files.outputs.files != '' + id: build-func + run: | + NON_COMPLIANT_FILES="" + for FILE in ${{ steps.changed-files.outputs.files }}; do + if [[ "$FILE" == ct/* ]] && [[ $(sed -n '2p' "$FILE") != "source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)" ]]; then + NON_COMPLIANT_FILES="$NON_COMPLIANT_FILES $FILE" + fi + done + + if [ -n "$NON_COMPLIANT_FILES" ]; then + echo "files=$NON_COMPLIANT_FILES" >> $GITHUB_OUTPUT + echo "Build.func line missing or incorrect in files:" + for FILE in $NON_COMPLIANT_FILES; do + echo "$FILE" + done + exit 1 + fi + + - name: Check executable permissions + if: always() && steps.changed-files.outputs.files != '' + id: check-executable + run: | + NON_COMPLIANT_FILES="" + for FILE in ${{ steps.changed-files.outputs.files }}; do + if [[ ! -x "$FILE" ]]; then + NON_COMPLIANT_FILES="$NON_COMPLIANT_FILES $FILE" + fi + done + + if [ -n "$NON_COMPLIANT_FILES" ]; then + echo "files=$NON_COMPLIANT_FILES" >> $GITHUB_OUTPUT + echo "Files not executable:" + for FILE in $NON_COMPLIANT_FILES; do + echo "$FILE" + done + exit 1 + fi + + - name: Check copyright + if: always() && steps.changed-files.outputs.files != '' + id: check-copyright + run: | + NON_COMPLIANT_FILES="" + for FILE in ${{ steps.changed-files.outputs.files }}; do + if ! sed -n '3p' "$FILE" | grep -qE "^# Copyright \(c\) [0-9]{4}(-[0-9]{4})? (tteck \| community-scripts ORG|community-scripts ORG|tteck)$"; then + NON_COMPLIANT_FILES="$NON_COMPLIANT_FILES $FILE" + fi + done + + if [ -n "$NON_COMPLIANT_FILES" ]; then + echo "files=$NON_COMPLIANT_FILES" >> $GITHUB_OUTPUT + echo "Copyright header missing or not on line 3 in files:" + for FILE in $NON_COMPLIANT_FILES; do + echo "$FILE" + done + exit 1 + fi + + - name: Check author + if: always() && steps.changed-files.outputs.files != '' + id: check-author + run: | + NON_COMPLIANT_FILES="" + for FILE in ${{ steps.changed-files.outputs.files }}; do + if ! sed -n '4p' "$FILE" | grep -qE "^# Author: .+"; then + NON_COMPLIANT_FILES="$NON_COMPLIANT_FILES $FILE" + fi + done + + if [ -n "$NON_COMPLIANT_FILES" ]; then + echo "files=$NON_COMPLIANT_FILES" >> $GITHUB_OUTPUT + echo "Author header missing or invalid on line 4 in files:" + for FILE in $NON_COMPLIANT_FILES; do + echo "$FILE" + done + exit 1 + fi + + - name: Check license + if: always() && steps.changed-files.outputs.files != '' + id: check-license + run: | + NON_COMPLIANT_FILES="" + for FILE in ${{ steps.changed-files.outputs.files }}; do + if [[ "$(sed -n '5p' "$FILE")" != "# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE" ]]; then + NON_COMPLIANT_FILES="$NON_COMPLIANT_FILES $FILE" + fi + done + + if [ -n "$NON_COMPLIANT_FILES" ]; then + echo "files=$NON_COMPLIANT_FILES" >> $GITHUB_OUTPUT + echo "License header missing or not on line 5 in files:" + for FILE in $NON_COMPLIANT_FILES; do + echo "$FILE" + done + exit 1 + fi + + - name: Check source + if: always() && steps.changed-files.outputs.files != '' + id: check-source + run: | + NON_COMPLIANT_FILES="" + for FILE in ${{ steps.changed-files.outputs.files }}; do + if ! sed -n '6p' "$FILE" | grep -qE "^# Source: .+"; then + NON_COMPLIANT_FILES="$NON_COMPLIANT_FILES $FILE" + fi + done + + if [ -n "$NON_COMPLIANT_FILES" ]; then + echo "files=$NON_COMPLIANT_FILES" >> $GITHUB_OUTPUT + echo "Source header missing or not on line 6 in files:" + for FILE in $NON_COMPLIANT_FILES; do + echo "$FILE" + done + exit 1 + fi + + - name: Post results and comment + if: always() && steps.changed-files.outputs.files != '' && github.event_name == 'pull_request' + uses: actions/github-script@v7 + with: + script: | + const result = '${{ job.status }}' === 'success' ? 'success' : 'failure'; + const nonCompliantFiles = { + 'Invalid build.func source': "${{ steps.build-func.outputs.files }}", + 'Not executable': "${{ steps.check-executable.outputs.files }}", + 'Copyright header line missing or invalid': "${{ steps.check-copyright.outputs.files }}", + 'Author header line missing or invalid': "${{ steps.check-author.outputs.files }}", + 'License header line missing or invalid': "${{ steps.check-license.outputs.files }}", + 'Source header line missing or invalid': "${{ steps.check-source.outputs.files }}" + }; + + const issueNumber = context.payload.pull_request ? context.payload.pull_request.number : null; + const commentIdentifier = 'validate-scripts'; + let newCommentBody = `\n### Script validation\n\n`; + + if (result === 'failure') { + newCommentBody += ':x: We found issues in the following changed files:\n\n'; + for (const [check, files] of Object.entries(nonCompliantFiles)) { + if (files) { + newCommentBody += `**${check}:**\n${files.trim().split(' ').map(file => `- ${file}`).join('\n')}\n\n`; + } + } + } else { + newCommentBody += `:rocket: All changed shell scripts passed validation!\n`; + } + + newCommentBody += `\n\n`; + + if (issueNumber) { + const { data: comments } = await github.rest.issues.listComments({ + ...context.repo, + issue_number: issueNumber + }); + + const existingComment = comments.find(comment => comment.user.login === 'github-actions[bot]'); + + if (existingComment) { + if (existingComment.body.includes(commentIdentifier)) { + const re = new RegExp(String.raw`[\s\S]*?`, ""); + newCommentBody = existingComment.body.replace(re, newCommentBody); + } else { + newCommentBody = existingComment.body + '\n\n---\n\n' + newCommentBody; + } + + await github.rest.issues.updateComment({ + ...context.repo, + comment_id: existingComment.id, + body: newCommentBody + }); + } else { + await github.rest.issues.createComment({ + ...context.repo, + issue_number: issueNumber, + body: newCommentBody + }); + } + } From 6adf8e38b0ff54488bf75e99f9c030ec330a154d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastiaan?= Date: Mon, 6 Jan 2025 07:55:01 +0100 Subject: [PATCH 09/12] ci: change filename checks into steps with PR comment (#1255) * Change filename checks into steps and post comment as result * Test --- .github/workflows/check-lowercase.yml | 92 --------------- .github/workflows/validate-filenames.yml | 143 +++++++++++++++++++++++ 2 files changed, 143 insertions(+), 92 deletions(-) delete mode 100644 .github/workflows/check-lowercase.yml create mode 100644 .github/workflows/validate-filenames.yml diff --git a/.github/workflows/check-lowercase.yml b/.github/workflows/check-lowercase.yml deleted file mode 100644 index b570204b..00000000 --- a/.github/workflows/check-lowercase.yml +++ /dev/null @@ -1,92 +0,0 @@ -name: Check Lowercase Filenames - -on: - pull_request: - paths: - - 'ct/*.sh' - - 'install/*.sh' - - 'json/*.json' - -jobs: - check_lowercase: - runs-on: ubuntu-latest - - steps: - # Step 1: Checkout the code - - name: Checkout code - uses: actions/checkout@v4 - with: - fetch-depth: 0 # Ensure the full history is fetched for accurate diffing - - # Step 2: Fetch the base branch - - name: Fetch base branch - run: git fetch origin ${{ github.base_ref }} - - # Step 3a: Validate filenames in ct directory - - name: "Validate filenames in ct directory" - run: | - changed_files=$(git diff --name-only origin/${{ github.base_ref }}...HEAD | grep -E '^ct/.*\.sh$') - - ERROR_COUNT=0 - - for FILE in $changed_files; do - BASENAME=$(basename "$FILE") - if [[ "$BASENAME" =~ ^[a-z0-9._-]+$ ]]; then - echo "$FILE: Check for lowercase in filename passed." - else - echo "Error in $FILE. Change filename to lowercase." - ERROR_COUNT=$((ERROR_COUNT + 1)) - fi - done - - if [ "$ERROR_COUNT" -ne 0 ]; then - exit 1 - else - echo "All filenames in ct directory passed the lowercase check." - fi - - # Step 3b: Validate filenames in install directory - - name: "Validate filenames in install directory" - run: | - changed_files=$(git diff --name-only origin/${{ github.base_ref }}...HEAD | grep -E '^install/.*\.sh$') - - ERROR_COUNT=0 - - for FILE in $changed_files; do - BASENAME=$(basename "$FILE") - if [[ "$BASENAME" =~ ^[a-z0-9._-]+$ ]]; then - echo "$FILE: Check for lowercase in filename passed." - else - echo "Error in $FILE. Change filename to lowercase." - ERROR_COUNT=$((ERROR_COUNT + 1)) - fi - done - - if [ "$ERROR_COUNT" -ne 0 ]; then - exit 1 - else - echo "All filenames in install directory passed the lowercase check." - fi - - # Step 3c: Validate filenames in json directory - - name: "Validate filenames in json directory." - run: | - changed_files=$(git diff --name-only origin/${{ github.base_ref }}...HEAD | grep -E '^json/.*\.json$') - - ERROR_COUNT=0 - - for FILE in $changed_files; do - BASENAME=$(basename "$FILE") - if [[ "$BASENAME" =~ ^[a-z0-9._-]+$ ]]; then - echo "$FILE: Check for lowercase in filename passed." - else - echo "Error in $FILE. Change filename to lowercase." - ERROR_COUNT=$((ERROR_COUNT + 1)) - fi - done - - if [ "$ERROR_COUNT" -ne 0 ]; then - exit 1 - else - echo "All filenames in json directory passed the lowercase check." - fi diff --git a/.github/workflows/validate-filenames.yml b/.github/workflows/validate-filenames.yml new file mode 100644 index 00000000..704715f5 --- /dev/null +++ b/.github/workflows/validate-filenames.yml @@ -0,0 +1,143 @@ +name: Validate filenames + +on: + pull_request: + paths: + - "ct/*.sh" + - "install/*.sh" + - "json/*.json" + - ".github/workflows/validate-filenames.yml" + +jobs: + check-files: + name: Check changed files + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + with: + fetch-depth: 0 # Ensure the full history is fetched for accurate diffing + + - name: Get changed files + id: changed-files + run: | + if ${{ github.event_name == 'pull_request' }}; then + echo "files=$(git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.sha }} | xargs)" >> $GITHUB_OUTPUT + else + echo "files=$(git diff --name-only ${{ github.event.before }} ${{ github.event.after }} | xargs)" >> $GITHUB_OUTPUT + fi + + - name: "Validate filenames in ct and install directory" + if: always() && steps.changed-files.outputs.files != '' + id: check-scripts + run: | + CHANGED_FILES=$(printf "%s\n" ${{ steps.changed-files.outputs.files }} | { grep -E '^(ct|install)/.*\.sh$' || true; }) + + NON_COMPLIANT_FILES="" + for FILE in $CHANGED_FILES; do + BASENAME=$(echo "$(basename "${FILE%.*}")") + if [[ ! "$BASENAME" =~ ^[a-z0-9-]+$ ]]; then + NON_COMPLIANT_FILES="$NON_COMPLIANT_FILES $FILE" + fi + done + + if [ -n "$NON_COMPLIANT_FILES" ]; then + echo "files=$NON_COMPLIANT_FILES" >> $GITHUB_OUTPUT + echo "Non-compliant filenames found, change to lowercase:" + for FILE in $NON_COMPLIANT_FILES; do + echo "$FILE" + done + exit 1 + fi + + - name: "Validate filenames in json directory." + if: always() && steps.changed-files.outputs.files != '' + id: check-json + run: | + CHANGED_FILES=$(printf "%s\n" ${{ steps.changed-files.outputs.files }} | { grep -E '^json/.*\.json$' || true; }) + + NON_COMPLIANT_FILES="" + for FILE in $CHANGED_FILES; do + BASENAME=$(echo "$(basename "${FILE%.*}")") + if [[ ! "$BASENAME" =~ ^[a-z0-9-]+$ ]]; then + NON_COMPLIANT_FILES="$NON_COMPLIANT_FILES $FILE" + fi + done + + if [ -n "$NON_COMPLIANT_FILES" ]; then + echo "files=$NON_COMPLIANT_FILES" >> $GITHUB_OUTPUT + echo "Non-compliant filenames found, change to lowercase:" + for FILE in $NON_COMPLIANT_FILES; do + echo "$FILE" + done + exit 1 + fi + + - name: Post results and comment + if: always() && steps.check-scripts.outputs.files != '' && steps.check-json.outputs.files != '' && github.event_name == 'pull_request' + uses: actions/github-script@v7 + with: + script: | + const result = "${{ job.status }}" === "success" ? "success" : "failure"; + const nonCompliantFiles = { + script: "${{ steps.check-scripts.outputs.files }}", + JSON: "${{ steps.check-json.outputs.files }}", + }; + + const issueNumber = context.payload.pull_request + ? context.payload.pull_request.number + : null; + const commentIdentifier = "validate-filenames"; + let newCommentBody = `\n### Filename validation\n\n`; + + if (result === "failure") { + newCommentBody += ":x: We found issues in the following changed files:\n\n"; + for (const [check, files] of Object.entries(nonCompliantFiles)) { + if (files) { + newCommentBody += `**${check.charAt(0).toUpperCase() + check.slice(1)} filename invalid:**\n${files + .trim() + .split(" ") + .map((file) => `- ${file}`) + .join("\n")}\n\n`; + } + } + newCommentBody += + "Please change the filenames to lowercase and use only alphanumeric characters and dashes.\n"; + } else { + newCommentBody += `:rocket: All files passed filename validation!\n`; + } + + newCommentBody += `\n\n`; + + if (issueNumber) { + const { data: comments } = await github.rest.issues.listComments({ + ...context.repo, + issue_number: issueNumber, + }); + + const existingComment = comments.find( + (comment) => comment.user.login === "github-actions[bot]", + ); + + if (existingComment) { + if (existingComment.body.includes(commentIdentifier)) { + const re = new RegExp(String.raw`[\s\S]*?`, ""); + newCommentBody = existingComment.body.replace(re, newCommentBody); + } else { + newCommentBody = existingComment.body + '\n\n---\n\n' + newCommentBody; + } + + await github.rest.issues.updateComment({ + ...context.repo, + comment_id: existingComment.id, + body: newCommentBody, + }); + } else { + await github.rest.issues.createComment({ + ...context.repo, + issue_number: issueNumber, + body: newCommentBody, + }); + } + } From 7621c063f4b17fa342e1e7a35b613d173de8a872 Mon Sep 17 00:00:00 2001 From: Duncan Hill Date: Mon, 6 Jan 2025 21:58:58 +0000 Subject: [PATCH 10/12] Redo: Change from wget to curl when fetching create_lxc.sh (#1250) --- misc/build.func | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/build.func b/misc/build.func index d83c99e8..1ebc0cc2 100644 --- a/misc/build.func +++ b/misc/build.func @@ -820,7 +820,7 @@ build_container() { $PW " # This executes create_lxc.sh and creates the container and .conf file - bash -c "$(wget -qLO - https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/create_lxc.sh)" || exit + bash -c "$(curl -sL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/create_lxc.sh)" || exit LXC_CONFIG=/etc/pve/lxc/${CTID}.conf if [ "$CT_TYPE" == "0" ]; then From 006ba0bc9d2a1ef5e34765c1d518e16e316c99a3 Mon Sep 17 00:00:00 2001 From: Duncan Hill Date: Mon, 6 Jan 2025 21:59:45 +0000 Subject: [PATCH 11/12] [overrideable url] Remaining changes to ct scripts to use environment variable (#1252) * Redo: Change from wget to curl when fetching create_lxc.sh * Redo: [overrideable url] Initial changes to ct scripts to use environment variable * Redo: [overrideable url] Remaining changes to ct scripts to use environment variable --- ct/2fauth.sh | 3 ++- ct/5etools.sh | 3 ++- ct/actualbudget.sh | 3 ++- ct/adguard.sh | 3 ++- ct/adventurelog.sh | 3 ++- ct/agentdvr.sh | 3 ++- ct/alpine-docker.sh | 3 ++- ct/alpine-grafana.sh | 3 ++- ct/alpine-nextcloud.sh | 3 ++- ct/alpine-vaultwarden.sh | 3 ++- ct/alpine-zigbee2mqtt.sh | 3 ++- ct/alpine.sh | 3 ++- ct/apache-cassandra.sh | 3 ++- ct/apache-couchdb.sh | 3 ++- ct/apt-cacher-ng.sh | 3 ++- ct/archivebox.sh | 3 ++- ct/aria2.sh | 3 ++- ct/audiobookshelf.sh | 3 ++- ct/authentik.sh | 3 ++- ct/autobrr.sh | 3 ++- ct/bazarr.sh | 3 ++- ct/blocky.sh | 3 ++- ct/bookstack.sh | 3 ++- ct/bunkerweb.sh | 3 ++- ct/caddy.sh | 3 ++- ct/calibre-web.sh | 3 ++- ct/casaos.sh | 3 ++- ct/changedetection.sh | 3 ++- ct/channels.sh | 3 ++- ct/checkmk.sh | 3 ++- ct/cloudflared.sh | 3 ++- ct/cockpit.sh | 3 ++- ct/commafeed.sh | 3 ++- ct/cronicle.sh | 3 ++- ct/daemonsync.sh | 3 ++- ct/dashy.sh | 3 ++- ct/debian.sh | 3 ++- ct/deconz.sh | 3 ++- ct/deluge.sh | 3 ++- ct/docker.sh | 3 ++- ct/dockge.sh | 3 ++- ct/emby.sh | 3 ++- ct/emqx.sh | 3 ++- ct/ersatztv.sh | 3 ++- ct/esphome.sh | 3 ++- ct/evcc.sh | 3 ++- ct/fenrus.sh | 3 ++- ct/fhem.sh | 3 ++- ct/firefly.sh | 3 ++- ct/flaresolverr.sh | 3 ++- ct/flowiseai.sh | 3 ++- ct/forgejo.sh | 3 ++- ct/frigate.sh | 3 ++- ct/gitea.sh | 3 ++- ct/glance.sh | 3 ++- ct/go2rtc.sh | 3 ++- ct/gokapi.sh | 3 ++- ct/gotify.sh | 3 ++- ct/grafana.sh | 3 ++- ct/grist.sh | 3 ++- ct/grocy.sh | 3 ++- ct/headscale.sh | 3 ++- ct/heimdall-dashboard.sh | 3 ++- ct/hivemq.sh | 3 ++- ct/hoarder.sh | 3 ++- ct/homarr.sh | 3 ++- ct/homeassistant-core.sh | 3 ++- ct/homeassistant.sh | 3 ++- ct/homebox.sh | 3 ++- ct/homebridge.sh | 3 ++- ct/homepage.sh | 3 ++- ct/homer.sh | 3 ++- ct/hyperhdr.sh | 3 ++- ct/hyperion.sh | 3 ++- ct/influxdb.sh | 3 ++- ct/inspircd.sh | 3 ++- ct/iobroker.sh | 3 ++- ct/iventoy.sh | 3 ++- ct/jackett.sh | 3 ++- ct/jellyfin.sh | 3 ++- ct/jellyseerr.sh | 3 ++- ct/jenkins.sh | 3 ++- ct/kavita.sh | 3 ++- ct/keycloak.sh | 3 ++- ct/kimai.sh | 3 ++- ct/komga.sh | 3 ++- ct/komodo.sh | 3 ++- ct/kubo.sh | 3 ++- ct/lazylibrarian.sh | 3 ++- ct/lidarr.sh | 3 ++- ct/linkwarden.sh | 3 ++- ct/listmonk.sh | 3 ++- ct/lldap.sh | 3 ++- ct/lubelogger.sh | 3 ++- ct/mafl.sh | 3 ++- ct/magicmirror.sh | 3 ++- ct/mariadb.sh | 3 ++- ct/matterbridge.sh | 3 ++- ct/mediamtx.sh | 3 ++- ct/medusa.sh | 3 ++- ct/memos.sh | 3 ++- ct/meshcentral.sh | 3 ++- ct/metube.sh | 3 ++- ct/mongodb.sh | 3 ++- ct/motioneye.sh | 3 ++- ct/mqtt.sh | 3 ++- ct/mylar3.sh | 3 ++- ct/myspeed.sh | 3 ++- ct/mysql.sh | 3 ++- ct/n8n.sh | 3 ++- ct/navidrome.sh | 3 ++- ct/neo4j.sh | 3 ++- ct/netbox.sh | 3 ++- ct/nextcloudpi.sh | 3 ++- ct/nextpvr.sh | 3 ++- ct/nginxproxymanager.sh | 3 ++- ct/nocodb.sh | 3 ++- ct/node-red.sh | 3 ++- ct/notifiarr.sh | 3 ++- ct/ntfy.sh | 3 ++- ct/nzbget.sh | 3 ++- ct/octoprint.sh | 3 ++- ct/ollama.sh | 3 ++- ct/omada.sh | 3 ++- ct/ombi.sh | 3 ++- ct/omv.sh | 3 ++- ct/onedev.sh | 3 ++- ct/openhab.sh | 3 ++- ct/openobserve.sh | 3 ++- ct/openwebui.sh | 3 ++- ct/overseerr.sh | 3 ++- ct/owncast.sh | 3 ++- ct/pairdrop.sh | 3 ++- ct/paperless-ngx.sh | 3 ++- ct/part-db.sh | 3 ++- ct/pbs.sh | 3 ++- ct/peanut.sh | 3 ++- ct/petio.sh | 3 ++- ct/pf2etools.sh | 3 ++- ct/photoprism.sh | 3 ++- ct/pialert.sh | 3 ++- ct/pihole.sh | 3 ++- ct/pingvin.sh | 3 ++- ct/plex.sh | 3 ++- ct/pocketbase.sh | 3 ++- ct/podman-homeassistant.sh | 3 ++- ct/podman.sh | 3 ++- ct/postgresql.sh | 3 ++- ct/prometheus.sh | 3 ++- ct/prowlarr.sh | 3 ++- ct/proxmox-datacenter-manager.sh | 3 ++- ct/qbittorrent.sh | 3 ++- ct/rabbitmq.sh | 3 ++- ct/radarr.sh | 3 ++- ct/rdtclient.sh | 3 ++- ct/readarr.sh | 3 ++- ct/readeck.sh | 3 ++- ct/recyclarr.sh | 3 ++- ct/redis.sh | 3 ++- ct/rtsptoweb.sh | 3 ++- ct/runtipi.sh | 3 ++- ct/sabnzbd.sh | 3 ++- ct/semaphore.sh | 3 ++- ct/sftpgo.sh | 3 ++- ct/shinobi.sh | 3 ++- ct/silverbullet.sh | 3 ++- ct/smokeping.sh | 3 ++- ct/snipeit.sh | 3 ++- ct/sonarr.sh | 3 ++- ct/spoolman.sh | 3 ++- ct/stirling-pdf.sh | 3 ++- ct/syncthing.sh | 3 ++- ct/tandoor.sh | 3 ++- ct/tasmoadmin.sh | 3 ++- ct/tautulli.sh | 3 ++- ct/tdarr.sh | 3 ++- ct/technitiumdns.sh | 3 ++- ct/teddycloud.sh | 3 ++- ct/the-lounge.sh | 3 ++- ct/threadfin.sh | 3 ++- ct/tianji.sh | 3 ++- ct/traccar.sh | 3 ++- ct/traefik.sh | 3 ++- ct/transmission.sh | 3 ++- ct/trilium.sh | 3 ++- ct/ubuntu.sh | 3 ++- ct/umami.sh | 3 ++- ct/umbrel.sh | 3 ++- ct/unbound.sh | 3 ++- ct/unifi.sh | 3 ++- ct/unmanic.sh | 3 ++- ct/uptimekuma.sh | 3 ++- ct/vaultwarden.sh | 3 ++- ct/vikunja.sh | 3 ++- ct/wallos.sh | 3 ++- ct/wastebin.sh | 3 ++- ct/watchyourlan.sh | 3 ++- ct/wavelog.sh | 3 ++- ct/whisparr.sh | 3 ++- ct/whoogle.sh | 3 ++- ct/wikijs.sh | 3 ++- ct/wireguard.sh | 3 ++- ct/yunohost.sh | 3 ++- ct/zabbix.sh | 3 ++- ct/zammad.sh | 3 ++- ct/zigbee2mqtt.sh | 3 ++- ct/zipline.sh | 3 ++- ct/zoraxy.sh | 3 ++- ct/zwave-js-ui.sh | 3 ++- 209 files changed, 418 insertions(+), 209 deletions(-) diff --git a/ct/2fauth.sh b/ct/2fauth.sh index 3ef44999..90d59a1b 100644 --- a/ct/2fauth.sh +++ b/ct/2fauth.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 community-scripts ORG # Author: jkrgr0 # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/5etools.sh b/ct/5etools.sh index 177cdfa4..3385cbc6 100644 --- a/ct/5etools.sh +++ b/ct/5etools.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 community-scripts ORG # Author: TheRealVira # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/actualbudget.sh b/ct/actualbudget.sh index 8bad74dc..4a0fec9a 100644 --- a/ct/actualbudget.sh +++ b/ct/actualbudget.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/adguard.sh b/ct/adguard.sh index d4d94f59..144567ac 100644 --- a/ct/adguard.sh +++ b/ct/adguard.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/adventurelog.sh b/ct/adventurelog.sh index 5c168ce4..e6ec5da9 100644 --- a/ct/adventurelog.sh +++ b/ct/adventurelog.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 tteck # Author: MickLesk (Canbiz) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/agentdvr.sh b/ct/agentdvr.sh index 2e5cda1b..026d79d9 100644 --- a/ct/agentdvr.sh +++ b/ct/agentdvr.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/alpine-docker.sh b/ct/alpine-docker.sh index 267066b1..3e2d0194 100644 --- a/ct/alpine-docker.sh +++ b/ct/alpine-docker.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/alpine-grafana.sh b/ct/alpine-grafana.sh index 909ade3d..191a1bc8 100644 --- a/ct/alpine-grafana.sh +++ b/ct/alpine-grafana.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/alpine-nextcloud.sh b/ct/alpine-nextcloud.sh index d41b9e3d..f10c5a75 100644 --- a/ct/alpine-nextcloud.sh +++ b/ct/alpine-nextcloud.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/alpine-vaultwarden.sh b/ct/alpine-vaultwarden.sh index cafb2e4e..c3e90c36 100644 --- a/ct/alpine-vaultwarden.sh +++ b/ct/alpine-vaultwarden.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/alpine-zigbee2mqtt.sh b/ct/alpine-zigbee2mqtt.sh index 4760d94a..0815eaee 100644 --- a/ct/alpine-zigbee2mqtt.sh +++ b/ct/alpine-zigbee2mqtt.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/alpine.sh b/ct/alpine.sh index a89e79f2..b9746225 100644 --- a/ct/alpine.sh +++ b/ct/alpine.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/apache-cassandra.sh b/ct/apache-cassandra.sh index 8e127029..2556bb6c 100644 --- a/ct/apache-cassandra.sh +++ b/ct/apache-cassandra.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/apache-couchdb.sh b/ct/apache-couchdb.sh index 9df39570..796046fd 100644 --- a/ct/apache-couchdb.sh +++ b/ct/apache-couchdb.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/apt-cacher-ng.sh b/ct/apt-cacher-ng.sh index 09c10d9d..4a3267d2 100644 --- a/ct/apt-cacher-ng.sh +++ b/ct/apt-cacher-ng.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/archivebox.sh b/ct/archivebox.sh index 1fd6f098..36bf421e 100644 --- a/ct/archivebox.sh +++ b/ct/archivebox.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 tteck # Author: tteck # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/aria2.sh b/ct/aria2.sh index 366d7279..fa42b72c 100644 --- a/ct/aria2.sh +++ b/ct/aria2.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/audiobookshelf.sh b/ct/audiobookshelf.sh index ccb1cac6..c3bd6e9c 100644 --- a/ct/audiobookshelf.sh +++ b/ct/audiobookshelf.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/authentik.sh b/ct/authentik.sh index 3f1a39ab..8fffe223 100644 --- a/ct/authentik.sh +++ b/ct/authentik.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 community-scripts ORG # Author: remz1337 # License: MIT diff --git a/ct/autobrr.sh b/ct/autobrr.sh index 383f81df..1721be34 100644 --- a/ct/autobrr.sh +++ b/ct/autobrr.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/bazarr.sh b/ct/bazarr.sh index 698344b2..b8961224 100755 --- a/ct/bazarr.sh +++ b/ct/bazarr.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/blocky.sh b/ct/blocky.sh index dd1309ac..3afe0ade 100644 --- a/ct/blocky.sh +++ b/ct/blocky.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/bookstack.sh b/ct/bookstack.sh index 0589d2dc..78c28524 100644 --- a/ct/bookstack.sh +++ b/ct/bookstack.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 community-scripts ORG # Author: MickLesk (Canbiz) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/bunkerweb.sh b/ct/bunkerweb.sh index d539cc5f..f2b2a890 100644 --- a/ct/bunkerweb.sh +++ b/ct/bunkerweb.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/caddy.sh b/ct/caddy.sh index e8fa01b4..2db6846a 100644 --- a/ct/caddy.sh +++ b/ct/caddy.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/calibre-web.sh b/ct/calibre-web.sh index 3980f37a..b38c99e8 100644 --- a/ct/calibre-web.sh +++ b/ct/calibre-web.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) | Co-Author: remz1337 # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/casaos.sh b/ct/casaos.sh index 76e226a0..679b0cbf 100644 --- a/ct/casaos.sh +++ b/ct/casaos.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/changedetection.sh b/ct/changedetection.sh index a6075cf2..68bdaf6d 100644 --- a/ct/changedetection.sh +++ b/ct/changedetection.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/channels.sh b/ct/channels.sh index d7f23d36..2abf2b76 100644 --- a/ct/channels.sh +++ b/ct/channels.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/checkmk.sh b/ct/checkmk.sh index 7822d135..770f3164 100644 --- a/ct/checkmk.sh +++ b/ct/checkmk.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 community-scripts ORG # Author: Michel Roegl-Brunner (michelroegl-brunner) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/cloudflared.sh b/ct/cloudflared.sh index 16f8d625..8c8b6554 100644 --- a/ct/cloudflared.sh +++ b/ct/cloudflared.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/cockpit.sh b/ct/cockpit.sh index 266d3621..1639f627 100644 --- a/ct/cockpit.sh +++ b/ct/cockpit.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 tteck # Author: tteck | Co-Author: havardthom # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/commafeed.sh b/ct/commafeed.sh index 4d5d2994..1a9467b3 100644 --- a/ct/commafeed.sh +++ b/ct/commafeed.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/cronicle.sh b/ct/cronicle.sh index 19f3454e..b132be19 100644 --- a/ct/cronicle.sh +++ b/ct/cronicle.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/daemonsync.sh b/ct/daemonsync.sh index 1d9b3137..3b22555a 100644 --- a/ct/daemonsync.sh +++ b/ct/daemonsync.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/dashy.sh b/ct/dashy.sh index 9f9c77aa..b635d662 100644 --- a/ct/dashy.sh +++ b/ct/dashy.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/debian.sh b/ct/debian.sh index fd5dae41..bef29908 100644 --- a/ct/debian.sh +++ b/ct/debian.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/deconz.sh b/ct/deconz.sh index e8233a59..a2d992ec 100644 --- a/ct/deconz.sh +++ b/ct/deconz.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/deluge.sh b/ct/deluge.sh index 1f80e8db..dfdfd3e2 100644 --- a/ct/deluge.sh +++ b/ct/deluge.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/docker.sh b/ct/docker.sh index 5af992b2..b05fb125 100644 --- a/ct/docker.sh +++ b/ct/docker.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/dockge.sh b/ct/dockge.sh index 8f5fd9d2..91654868 100644 --- a/ct/dockge.sh +++ b/ct/dockge.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/emby.sh b/ct/emby.sh index 364fb166..c21ffb27 100644 --- a/ct/emby.sh +++ b/ct/emby.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/emqx.sh b/ct/emqx.sh index 348f0b7e..e8a84ef9 100644 --- a/ct/emqx.sh +++ b/ct/emqx.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/ersatztv.sh b/ct/ersatztv.sh index c77cc7a7..9873a531 100644 --- a/ct/ersatztv.sh +++ b/ct/ersatztv.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 tteck # Author: MickLesk (Canbiz) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/esphome.sh b/ct/esphome.sh index 6b381486..8b6e6cd3 100644 --- a/ct/esphome.sh +++ b/ct/esphome.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/evcc.sh b/ct/evcc.sh index bf1070ed..75f40556 100644 --- a/ct/evcc.sh +++ b/ct/evcc.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 tteck # Author: MickLesk (Canbiz) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/fenrus.sh b/ct/fenrus.sh index f3ae3550..4e5e1487 100644 --- a/ct/fenrus.sh +++ b/ct/fenrus.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) | Co-Author: Scorpoon # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/fhem.sh b/ct/fhem.sh index 922cad73..0ed46823 100644 --- a/ct/fhem.sh +++ b/ct/fhem.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/firefly.sh b/ct/firefly.sh index 542f84ec..c06a12d5 100644 --- a/ct/firefly.sh +++ b/ct/firefly.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 community-scripts ORG # Author: quantumryuu # License: MIT diff --git a/ct/flaresolverr.sh b/ct/flaresolverr.sh index d212c00f..6d42d104 100644 --- a/ct/flaresolverr.sh +++ b/ct/flaresolverr.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) | Co-Author: remz1337 # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/flowiseai.sh b/ct/flowiseai.sh index ab26b113..195c93fd 100644 --- a/ct/flowiseai.sh +++ b/ct/flowiseai.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/forgejo.sh b/ct/forgejo.sh index 3e9223ba..60e0fc6b 100644 --- a/ct/forgejo.sh +++ b/ct/forgejo.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/frigate.sh b/ct/frigate.sh index 40e14e1d..7d691123 100644 --- a/ct/frigate.sh +++ b/ct/frigate.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 tteck # Authors: tteck (tteckster) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/gitea.sh b/ct/gitea.sh index ed7fbca4..dd3b09e0 100644 --- a/ct/gitea.sh +++ b/ct/gitea.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) | Co-Author: Rogue-King # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/glance.sh b/ct/glance.sh index 7ef2b458..3900ad72 100644 --- a/ct/glance.sh +++ b/ct/glance.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 community-scripts ORG # Author: kristocopani # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/go2rtc.sh b/ct/go2rtc.sh index e577388f..900661cb 100644 --- a/ct/go2rtc.sh +++ b/ct/go2rtc.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/gokapi.sh b/ct/gokapi.sh index 1a86e0ce..d8b601b1 100644 --- a/ct/gokapi.sh +++ b/ct/gokapi.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/gotify.sh b/ct/gotify.sh index a31273f4..64ffce41 100644 --- a/ct/gotify.sh +++ b/ct/gotify.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/grafana.sh b/ct/grafana.sh index 7547f14f..2b2db9f1 100644 --- a/ct/grafana.sh +++ b/ct/grafana.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/grist.sh b/ct/grist.sh index 154e3ff5..82a097d8 100644 --- a/ct/grist.sh +++ b/ct/grist.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Source: https://github.com/gristlabs/grist-core # App Default Values diff --git a/ct/grocy.sh b/ct/grocy.sh index f6bfc8ec..7bdfb636 100644 --- a/ct/grocy.sh +++ b/ct/grocy.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/headscale.sh b/ct/headscale.sh index e63aa6a7..5c951c94 100644 --- a/ct/headscale.sh +++ b/ct/headscale.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/heimdall-dashboard.sh b/ct/heimdall-dashboard.sh index 4613040d..f475a682 100644 --- a/ct/heimdall-dashboard.sh +++ b/ct/heimdall-dashboard.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/hivemq.sh b/ct/hivemq.sh index fe9aa2ba..41a8072b 100644 --- a/ct/hivemq.sh +++ b/ct/hivemq.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/hoarder.sh b/ct/hoarder.sh index b91765ec..11165617 100644 --- a/ct/hoarder.sh +++ b/ct/hoarder.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 tteck # Author: MickLesk (Canbiz) & vhsdream # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/homarr.sh b/ct/homarr.sh index 715796a2..7fa63244 100644 --- a/ct/homarr.sh +++ b/ct/homarr.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) | Co-Author: MickLesk (Canbiz) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/homeassistant-core.sh b/ct/homeassistant-core.sh index f54bf4fd..9a775259 100644 --- a/ct/homeassistant-core.sh +++ b/ct/homeassistant-core.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/homeassistant.sh b/ct/homeassistant.sh index aa35e941..4a3f5d2b 100644 --- a/ct/homeassistant.sh +++ b/ct/homeassistant.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/homebox.sh b/ct/homebox.sh index 75490965..19499c74 100644 --- a/ct/homebox.sh +++ b/ct/homebox.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 tteck # Author: tteck | Co-Author: MickLesk (Canbiz) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/homebridge.sh b/ct/homebridge.sh index 3253b79e..1a6b6689 100644 --- a/ct/homebridge.sh +++ b/ct/homebridge.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/homepage.sh b/ct/homepage.sh index e2c74b36..90e1cf3b 100644 --- a/ct/homepage.sh +++ b/ct/homepage.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/homer.sh b/ct/homer.sh index 1445fcee..49babc78 100644 --- a/ct/homer.sh +++ b/ct/homer.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/hyperhdr.sh b/ct/hyperhdr.sh index 150864a4..b2fa24b7 100644 --- a/ct/hyperhdr.sh +++ b/ct/hyperhdr.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/hyperion.sh b/ct/hyperion.sh index 28b310b5..ff731b89 100644 --- a/ct/hyperion.sh +++ b/ct/hyperion.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/influxdb.sh b/ct/influxdb.sh index 0824effe..3c44c9ef 100644 --- a/ct/influxdb.sh +++ b/ct/influxdb.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/inspircd.sh b/ct/inspircd.sh index 749911e5..1e4dcca4 100644 --- a/ct/inspircd.sh +++ b/ct/inspircd.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 community-scripts ORG # Author: kristocopani # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/iobroker.sh b/ct/iobroker.sh index 310f0a29..2353f458 100644 --- a/ct/iobroker.sh +++ b/ct/iobroker.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/iventoy.sh b/ct/iventoy.sh index 12a434ff..cd50f54b 100644 --- a/ct/iventoy.sh +++ b/ct/iventoy.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/jackett.sh b/ct/jackett.sh index 0c1c9171..ac4393b6 100644 --- a/ct/jackett.sh +++ b/ct/jackett.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/jellyfin.sh b/ct/jellyfin.sh index 123f3e94..0e28d72c 100644 --- a/ct/jellyfin.sh +++ b/ct/jellyfin.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/jellyseerr.sh b/ct/jellyseerr.sh index 5403ae58..18ebb8fb 100644 --- a/ct/jellyseerr.sh +++ b/ct/jellyseerr.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/jenkins.sh b/ct/jenkins.sh index 49e4fcda..c0bf61d5 100644 --- a/ct/jenkins.sh +++ b/ct/jenkins.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 community-scripts ORG # Author: kristocopani # License: MIT diff --git a/ct/kavita.sh b/ct/kavita.sh index 4303d04a..6bf07fe3 100644 --- a/ct/kavita.sh +++ b/ct/kavita.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/keycloak.sh b/ct/keycloak.sh index 668a866b..1147864f 100644 --- a/ct/keycloak.sh +++ b/ct/keycloak.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/kimai.sh b/ct/kimai.sh index 1ca15fac..4ac4a493 100644 --- a/ct/kimai.sh +++ b/ct/kimai.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 community-scripts ORG # Author: MickLesk (Canbiz) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/komga.sh b/ct/komga.sh index f8e47c29..174168d8 100644 --- a/ct/komga.sh +++ b/ct/komga.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 community-scripts ORG # Author: madelyn (DysfunctionalProgramming) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/komodo.sh b/ct/komodo.sh index 2a550892..66f85ad2 100644 --- a/ct/komodo.sh +++ b/ct/komodo.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 community-scripts ORG # Author: MickLesk # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/kubo.sh b/ct/kubo.sh index 7a73b268..fc102378 100644 --- a/ct/kubo.sh +++ b/ct/kubo.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) | Co-Author: ulmentflam # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/lazylibrarian.sh b/ct/lazylibrarian.sh index 37f7e71f..730ad9b0 100644 --- a/ct/lazylibrarian.sh +++ b/ct/lazylibrarian.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 tteck # Author: tteck | Co-Author: MountyMapleSyrup (MountyMapleSyrup) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/lidarr.sh b/ct/lidarr.sh index 809e5a19..6992bfd7 100644 --- a/ct/lidarr.sh +++ b/ct/lidarr.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/linkwarden.sh b/ct/linkwarden.sh index 5c0435e0..818fd587 100644 --- a/ct/linkwarden.sh +++ b/ct/linkwarden.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/listmonk.sh b/ct/listmonk.sh index 55e5c4f5..a797a61a 100644 --- a/ct/listmonk.sh +++ b/ct/listmonk.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 community-scripts ORG # Author: bvdberg01 # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/lldap.sh b/ct/lldap.sh index 60c97157..21e5775b 100644 --- a/ct/lldap.sh +++ b/ct/lldap.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) | Co-Author: remz1337 # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/lubelogger.sh b/ct/lubelogger.sh index 0f10b667..04f8301c 100644 --- a/ct/lubelogger.sh +++ b/ct/lubelogger.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 community-scripts ORG # Author: kristocopani # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/mafl.sh b/ct/mafl.sh index a8e5777d..3c97fbc9 100644 --- a/ct/mafl.sh +++ b/ct/mafl.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/magicmirror.sh b/ct/magicmirror.sh index 7504eb20..8a3db2a3 100644 --- a/ct/magicmirror.sh +++ b/ct/magicmirror.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/mariadb.sh b/ct/mariadb.sh index 729d2136..cd4843f8 100644 --- a/ct/mariadb.sh +++ b/ct/mariadb.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/matterbridge.sh b/ct/matterbridge.sh index 9647cb7c..3c340c54 100644 --- a/ct/matterbridge.sh +++ b/ct/matterbridge.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 tteck # Author: MickLesk (Canbiz) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/mediamtx.sh b/ct/mediamtx.sh index 67cb8f9a..6728c665 100644 --- a/ct/mediamtx.sh +++ b/ct/mediamtx.sh @@ -1,6 +1,7 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/medusa.sh b/ct/medusa.sh index 19aae9b5..ad1ac5f9 100644 --- a/ct/medusa.sh +++ b/ct/medusa.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/memos.sh b/ct/memos.sh index ed1b30ed..918b0371 100644 --- a/ct/memos.sh +++ b/ct/memos.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 tteck # Author: MickLesk (Canbiz) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/meshcentral.sh b/ct/meshcentral.sh index 6ae005d4..d01a0f4d 100644 --- a/ct/meshcentral.sh +++ b/ct/meshcentral.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/metube.sh b/ct/metube.sh index 8aa488af..19a63290 100644 --- a/ct/metube.sh +++ b/ct/metube.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 tteck # Author: MickLesk (Canbiz) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/mongodb.sh b/ct/mongodb.sh index 27e4bd0a..c3ae1b07 100644 --- a/ct/mongodb.sh +++ b/ct/mongodb.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/motioneye.sh b/ct/motioneye.sh index 9436f759..c1c6b1ae 100644 --- a/ct/motioneye.sh +++ b/ct/motioneye.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/mqtt.sh b/ct/mqtt.sh index a577519d..70deab54 100644 --- a/ct/mqtt.sh +++ b/ct/mqtt.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/mylar3.sh b/ct/mylar3.sh index 9c7636eb..a2112934 100644 --- a/ct/mylar3.sh +++ b/ct/mylar3.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 community-scripts ORG # Author: davalanche # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/myspeed.sh b/ct/myspeed.sh index e52d123a..f5310cbf 100644 --- a/ct/myspeed.sh +++ b/ct/myspeed.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) | Co-Author: MickLesk (Canbiz) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/mysql.sh b/ct/mysql.sh index 9c5968f4..1dddb8e5 100644 --- a/ct/mysql.sh +++ b/ct/mysql.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 tteck # Author: tteck | Co-Author: MickLesk (Canbiz) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/n8n.sh b/ct/n8n.sh index 27c15c60..516f3741 100644 --- a/ct/n8n.sh +++ b/ct/n8n.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/navidrome.sh b/ct/navidrome.sh index be9e335b..e3f6b2be 100644 --- a/ct/navidrome.sh +++ b/ct/navidrome.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/neo4j.sh b/ct/neo4j.sh index 0debb55d..6078ff35 100644 --- a/ct/neo4j.sh +++ b/ct/neo4j.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 tteck # Author: tteck | Co-Author: havardthom # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/netbox.sh b/ct/netbox.sh index 38f54a83..a4071dd1 100644 --- a/ct/netbox.sh +++ b/ct/netbox.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 community-scripts ORG # Author: bvdberg01 # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/nextcloudpi.sh b/ct/nextcloudpi.sh index d22fcaa3..839cad1b 100644 --- a/ct/nextcloudpi.sh +++ b/ct/nextcloudpi.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/nextpvr.sh b/ct/nextpvr.sh index 97938904..318b7000 100644 --- a/ct/nextpvr.sh +++ b/ct/nextpvr.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 community-scripts ORG # Author: MickLesk (Canbiz) # License: MIT diff --git a/ct/nginxproxymanager.sh b/ct/nginxproxymanager.sh index ed3dcdec..7db35ef2 100644 --- a/ct/nginxproxymanager.sh +++ b/ct/nginxproxymanager.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/nocodb.sh b/ct/nocodb.sh index a72c91a6..21e080bc 100644 --- a/ct/nocodb.sh +++ b/ct/nocodb.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/node-red.sh b/ct/node-red.sh index c2bce186..ce55587b 100644 --- a/ct/node-red.sh +++ b/ct/node-red.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/notifiarr.sh b/ct/notifiarr.sh index 4bd8f9a0..d47f395d 100644 --- a/ct/notifiarr.sh +++ b/ct/notifiarr.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/ntfy.sh b/ct/ntfy.sh index 4ac3bae0..e7b63a9f 100644 --- a/ct/ntfy.sh +++ b/ct/ntfy.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/nzbget.sh b/ct/nzbget.sh index 50910513..62681890 100644 --- a/ct/nzbget.sh +++ b/ct/nzbget.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 tteck # Author: tteck | Co-Author: havardthom # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/octoprint.sh b/ct/octoprint.sh index be0b71a2..e160cea8 100644 --- a/ct/octoprint.sh +++ b/ct/octoprint.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/ollama.sh b/ct/ollama.sh index 43cebc9c..f017ae3a 100644 --- a/ct/ollama.sh +++ b/ct/ollama.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 tteck # Author: tteck | Co-Author: havardthom # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/omada.sh b/ct/omada.sh index b9b46f86..00f5df8c 100644 --- a/ct/omada.sh +++ b/ct/omada.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/ombi.sh b/ct/ombi.sh index 610c7dfa..1181d9aa 100644 --- a/ct/ombi.sh +++ b/ct/ombi.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/omv.sh b/ct/omv.sh index a05706fd..b6821fea 100644 --- a/ct/omv.sh +++ b/ct/omv.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/onedev.sh b/ct/onedev.sh index 16e1b194..29638d45 100644 --- a/ct/onedev.sh +++ b/ct/onedev.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 community-scripts ORG # Author: kristocopani # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/openhab.sh b/ct/openhab.sh index 79e24984..c2fe5e2d 100644 --- a/ct/openhab.sh +++ b/ct/openhab.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/openobserve.sh b/ct/openobserve.sh index 598182b6..e43c00f6 100644 --- a/ct/openobserve.sh +++ b/ct/openobserve.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/openwebui.sh b/ct/openwebui.sh index 47eab4ab..0084e4c7 100644 --- a/ct/openwebui.sh +++ b/ct/openwebui.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 tteck # Author: havardthom # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/overseerr.sh b/ct/overseerr.sh index dff26046..4eed75e3 100644 --- a/ct/overseerr.sh +++ b/ct/overseerr.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/owncast.sh b/ct/owncast.sh index 6442af66..e479e0f8 100644 --- a/ct/owncast.sh +++ b/ct/owncast.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/pairdrop.sh b/ct/pairdrop.sh index 00548dd3..2e321455 100644 --- a/ct/pairdrop.sh +++ b/ct/pairdrop.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/paperless-ngx.sh b/ct/paperless-ngx.sh index 63aead01..b0a6950b 100644 --- a/ct/paperless-ngx.sh +++ b/ct/paperless-ngx.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/part-db.sh b/ct/part-db.sh index dcb31c76..f96fb581 100644 --- a/ct/part-db.sh +++ b/ct/part-db.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 community-scripts ORG # Author: bvdberg01 # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/pbs.sh b/ct/pbs.sh index 8aae63d3..4ad82e39 100644 --- a/ct/pbs.sh +++ b/ct/pbs.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/peanut.sh b/ct/peanut.sh index 87cd3eff..2d859a0d 100644 --- a/ct/peanut.sh +++ b/ct/peanut.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) | Co-Author: remz1337 # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/petio.sh b/ct/petio.sh index c9d9b2d9..0f080d6e 100644 --- a/ct/petio.sh +++ b/ct/petio.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/pf2etools.sh b/ct/pf2etools.sh index 4d2205e8..23bdceef 100644 --- a/ct/pf2etools.sh +++ b/ct/pf2etools.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 community-scripts ORG # Author: TheRealVira # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/photoprism.sh b/ct/photoprism.sh index f6f79c93..15140900 100644 --- a/ct/photoprism.sh +++ b/ct/photoprism.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/pialert.sh b/ct/pialert.sh index 9569f564..79aaa1dd 100644 --- a/ct/pialert.sh +++ b/ct/pialert.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/pihole.sh b/ct/pihole.sh index 4071efe7..0ce44000 100644 --- a/ct/pihole.sh +++ b/ct/pihole.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/pingvin.sh b/ct/pingvin.sh index 95e09711..c32b88ce 100644 --- a/ct/pingvin.sh +++ b/ct/pingvin.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/plex.sh b/ct/plex.sh index 004a93e3..618bfba2 100644 --- a/ct/plex.sh +++ b/ct/plex.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/pocketbase.sh b/ct/pocketbase.sh index f9c24680..8d7e78f2 100644 --- a/ct/pocketbase.sh +++ b/ct/pocketbase.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/podman-homeassistant.sh b/ct/podman-homeassistant.sh index f0e43c2a..bac75a05 100644 --- a/ct/podman-homeassistant.sh +++ b/ct/podman-homeassistant.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/podman.sh b/ct/podman.sh index ef36a682..3aba967f 100644 --- a/ct/podman.sh +++ b/ct/podman.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/postgresql.sh b/ct/postgresql.sh index 287bfab1..b1bb8b2c 100644 --- a/ct/postgresql.sh +++ b/ct/postgresql.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/prometheus.sh b/ct/prometheus.sh index d03e070b..153cb6cf 100644 --- a/ct/prometheus.sh +++ b/ct/prometheus.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/prowlarr.sh b/ct/prowlarr.sh index 04c8a4ec..4bd9678c 100644 --- a/ct/prowlarr.sh +++ b/ct/prowlarr.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/proxmox-datacenter-manager.sh b/ct/proxmox-datacenter-manager.sh index 2ee48633..38b8c6eb 100644 --- a/ct/proxmox-datacenter-manager.sh +++ b/ct/proxmox-datacenter-manager.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 community-scripts ORG # Author: CrazyWolf13 # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/qbittorrent.sh b/ct/qbittorrent.sh index 790a5716..21cedb0b 100644 --- a/ct/qbittorrent.sh +++ b/ct/qbittorrent.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/rabbitmq.sh b/ct/rabbitmq.sh index c47d56da..f1da7b5c 100644 --- a/ct/rabbitmq.sh +++ b/ct/rabbitmq.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 tteck # Author: tteck | Co-Author: MickLesk (Canbiz) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/radarr.sh b/ct/radarr.sh index c6ee2507..6fa8bd7b 100644 --- a/ct/radarr.sh +++ b/ct/radarr.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/rdtclient.sh b/ct/rdtclient.sh index 3b26ad7c..d7c1202b 100755 --- a/ct/rdtclient.sh +++ b/ct/rdtclient.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/readarr.sh b/ct/readarr.sh index 2c0bf458..1e958f7b 100644 --- a/ct/readarr.sh +++ b/ct/readarr.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/readeck.sh b/ct/readeck.sh index a34294ed..170d4f7f 100644 --- a/ct/readeck.sh +++ b/ct/readeck.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/recyclarr.sh b/ct/recyclarr.sh index 388ab627..2a9cc0be 100644 --- a/ct/recyclarr.sh +++ b/ct/recyclarr.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 community-scripts ORG # Author: MrYadro # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/redis.sh b/ct/redis.sh index 13b29e59..bf0b15a6 100644 --- a/ct/redis.sh +++ b/ct/redis.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/rtsptoweb.sh b/ct/rtsptoweb.sh index c09182a3..84f29eef 100644 --- a/ct/rtsptoweb.sh +++ b/ct/rtsptoweb.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/runtipi.sh b/ct/runtipi.sh index 3beb2ea2..a90c52c9 100644 --- a/ct/runtipi.sh +++ b/ct/runtipi.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/sabnzbd.sh b/ct/sabnzbd.sh index 9c848983..9e174cf1 100644 --- a/ct/sabnzbd.sh +++ b/ct/sabnzbd.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/semaphore.sh b/ct/semaphore.sh index 12d32a0a..443a5ad0 100644 --- a/ct/semaphore.sh +++ b/ct/semaphore.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 community-scripts ORG # Author: kristocopani # License: MIT diff --git a/ct/sftpgo.sh b/ct/sftpgo.sh index 6a14392c..e8a78bf3 100644 --- a/ct/sftpgo.sh +++ b/ct/sftpgo.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/shinobi.sh b/ct/shinobi.sh index 4da07b58..4cfae5f6 100644 --- a/ct/shinobi.sh +++ b/ct/shinobi.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/silverbullet.sh b/ct/silverbullet.sh index 56bf1a4e..e4fccc39 100644 --- a/ct/silverbullet.sh +++ b/ct/silverbullet.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 community-scripts ORG # Author: Dominik Siebel (dsiebel) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/smokeping.sh b/ct/smokeping.sh index 8bd4a242..4cd58628 100644 --- a/ct/smokeping.sh +++ b/ct/smokeping.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/snipeit.sh b/ct/snipeit.sh index 02508804..e22dfbd6 100644 --- a/ct/snipeit.sh +++ b/ct/snipeit.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 community-scripts ORG # Author: Michel Roegl-Brunner (michelroegl-brunner) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/sonarr.sh b/ct/sonarr.sh index 606fdb30..c021fb36 100644 --- a/ct/sonarr.sh +++ b/ct/sonarr.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/spoolman.sh b/ct/spoolman.sh index f98dc1f2..b820de29 100644 --- a/ct/spoolman.sh +++ b/ct/spoolman.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 tteck # Author: MickLesk (Canbiz) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/stirling-pdf.sh b/ct/stirling-pdf.sh index c212c18c..51e82fd3 100644 --- a/ct/stirling-pdf.sh +++ b/ct/stirling-pdf.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/syncthing.sh b/ct/syncthing.sh index 455e262f..2d2d0978 100644 --- a/ct/syncthing.sh +++ b/ct/syncthing.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/tandoor.sh b/ct/tandoor.sh index 146c73ee..148a6638 100644 --- a/ct/tandoor.sh +++ b/ct/tandoor.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 tteck # Author: MickLesk (Canbiz) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/tasmoadmin.sh b/ct/tasmoadmin.sh index 500d67d6..b16c0092 100644 --- a/ct/tasmoadmin.sh +++ b/ct/tasmoadmin.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/tautulli.sh b/ct/tautulli.sh index 0675f5bb..f82cf635 100644 --- a/ct/tautulli.sh +++ b/ct/tautulli.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/tdarr.sh b/ct/tdarr.sh index 6360f001..7b7842d9 100644 --- a/ct/tdarr.sh +++ b/ct/tdarr.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/technitiumdns.sh b/ct/technitiumdns.sh index 8f687708..97c92a4d 100644 --- a/ct/technitiumdns.sh +++ b/ct/technitiumdns.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/teddycloud.sh b/ct/teddycloud.sh index 0b2a7dcb..90faca4a 100644 --- a/ct/teddycloud.sh +++ b/ct/teddycloud.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 community-scripts ORG # Author: Dominik Siebel (dsiebel) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/the-lounge.sh b/ct/the-lounge.sh index 28d426ae..5969e83f 100644 --- a/ct/the-lounge.sh +++ b/ct/the-lounge.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 community-scripts ORG # Author: kristocopani # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/threadfin.sh b/ct/threadfin.sh index 83c5ed79..b97a8d16 100644 --- a/ct/threadfin.sh +++ b/ct/threadfin.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/tianji.sh b/ct/tianji.sh index 1ac59203..9599b28a 100644 --- a/ct/tianji.sh +++ b/ct/tianji.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 tteck # Author: MickLesk (Canbiz) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/traccar.sh b/ct/traccar.sh index 5487784a..4c36aa38 100644 --- a/ct/traccar.sh +++ b/ct/traccar.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/traefik.sh b/ct/traefik.sh index 39786b8e..e1e8bc42 100644 --- a/ct/traefik.sh +++ b/ct/traefik.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/transmission.sh b/ct/transmission.sh index 78d5b1b4..6416cb09 100644 --- a/ct/transmission.sh +++ b/ct/transmission.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/trilium.sh b/ct/trilium.sh index a2835202..ab5df6a2 100644 --- a/ct/trilium.sh +++ b/ct/trilium.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/ubuntu.sh b/ct/ubuntu.sh index d3aac33f..9cda552a 100644 --- a/ct/ubuntu.sh +++ b/ct/ubuntu.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/umami.sh b/ct/umami.sh index 6b898cae..6117f857 100644 --- a/ct/umami.sh +++ b/ct/umami.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/umbrel.sh b/ct/umbrel.sh index 5dc0a791..25e1a9dd 100644 --- a/ct/umbrel.sh +++ b/ct/umbrel.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/unbound.sh b/ct/unbound.sh index b0a0d1ec..bdf672a1 100644 --- a/ct/unbound.sh +++ b/ct/unbound.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 community-scripts ORG # Author: wimb0 # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/unifi.sh b/ct/unifi.sh index 16fe0c8d..6adb8ad8 100644 --- a/ct/unifi.sh +++ b/ct/unifi.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/unmanic.sh b/ct/unmanic.sh index bce7450a..e049f372 100644 --- a/ct/unmanic.sh +++ b/ct/unmanic.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/uptimekuma.sh b/ct/uptimekuma.sh index 0efe730f..f278d2c9 100644 --- a/ct/uptimekuma.sh +++ b/ct/uptimekuma.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/vaultwarden.sh b/ct/vaultwarden.sh index 4d12d0da..20358db7 100644 --- a/ct/vaultwarden.sh +++ b/ct/vaultwarden.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/vikunja.sh b/ct/vikunja.sh index e805f8b2..ff1f6cea 100644 --- a/ct/vikunja.sh +++ b/ct/vikunja.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 community-scripts ORG # Author: MickLesk (Canbiz) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/wallos.sh b/ct/wallos.sh index 9931f1f7..1fb10ce8 100644 --- a/ct/wallos.sh +++ b/ct/wallos.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 tteck # Author: MickLesk (Canbiz) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/wastebin.sh b/ct/wastebin.sh index 9e416237..17fa4453 100644 --- a/ct/wastebin.sh +++ b/ct/wastebin.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 tteck # Author: MickLesk (Canbiz) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/watchyourlan.sh b/ct/watchyourlan.sh index de29154e..f76dfbbe 100644 --- a/ct/watchyourlan.sh +++ b/ct/watchyourlan.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/wavelog.sh b/ct/wavelog.sh index 0dc24ae2..649ebf8d 100644 --- a/ct/wavelog.sh +++ b/ct/wavelog.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 community-scripts ORG # Author: Don Locke (DonLocke) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/whisparr.sh b/ct/whisparr.sh index 53e2fff8..f7783508 100644 --- a/ct/whisparr.sh +++ b/ct/whisparr.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/whoogle.sh b/ct/whoogle.sh index 1010b6fc..287f7b71 100644 --- a/ct/whoogle.sh +++ b/ct/whoogle.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/wikijs.sh b/ct/wikijs.sh index d387b2d9..cdb4a7eb 100644 --- a/ct/wikijs.sh +++ b/ct/wikijs.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/wireguard.sh b/ct/wireguard.sh index 946a909e..e2a12732 100644 --- a/ct/wireguard.sh +++ b/ct/wireguard.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/yunohost.sh b/ct/yunohost.sh index 36319202..f44f527c 100644 --- a/ct/yunohost.sh +++ b/ct/yunohost.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/zabbix.sh b/ct/zabbix.sh index 14cfc357..837f98ba 100644 --- a/ct/zabbix.sh +++ b/ct/zabbix.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/zammad.sh b/ct/zammad.sh index 43360bd0..f14cd829 100644 --- a/ct/zammad.sh +++ b/ct/zammad.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 community-scripts ORG # Author: Michel Roegl-Brunner (michelroegl-brunner) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/zigbee2mqtt.sh b/ct/zigbee2mqtt.sh index 591e19bb..50f0eced 100644 --- a/ct/zigbee2mqtt.sh +++ b/ct/zigbee2mqtt.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/zipline.sh b/ct/zipline.sh index 7031bf8e..28c6d767 100644 --- a/ct/zipline.sh +++ b/ct/zipline.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 tteck # Author: MickLesk (Canbiz) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/ct/zoraxy.sh b/ct/zoraxy.sh index 2f30ebc2..6984b6be 100644 --- a/ct/zoraxy.sh +++ b/ct/zoraxy.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/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/ct/zwave-js-ui.sh b/ct/zwave-js-ui.sh index ffea06b2..6c4c854f 100644 --- a/ct/zwave-js-ui.sh +++ b/ct/zwave-js-ui.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +: "${CSCRIPTS_BASE_URL:=https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}" +source <(curl -s "${CSCRIPTS_BASE_URL}/misc/build.func") # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE From f669af38f63c2794a6e7c1c14c5d2e0d9032c62f Mon Sep 17 00:00:00 2001 From: Duncan Hill Date: Thu, 9 Jan 2025 15:22:01 +0000 Subject: [PATCH 12/12] [overrideable url] Initial changes to ct scripts to use environment variable (#1251) * Redo: Change from wget to curl when fetching create_lxc.sh * Redo: [overrideable url] Initial changes to ct scripts to use environment variable