From 1cbc30e578d0a19f94c6c6faed07382f82c6c288 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Thu, 12 Mar 2026 11:35:21 +0100 Subject: [PATCH] Switch repo URLs to raw.githubusercontent.com Update script and license links to use GitHub raw URLs. Replace git.community-scripts.org references with https://raw.githubusercontent.com/... for script fetching and https://github.com/... for the LICENSE link in tools/pve/cron-update-lxcs.sh and tools/pve/update-lxcs-cron.sh so the curl examples and REPO_URL point to GitHub-hosted raw content. --- tools/pve/cron-update-lxcs.sh | 6 +++--- tools/pve/update-lxcs-cron.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/pve/cron-update-lxcs.sh b/tools/pve/cron-update-lxcs.sh index 1b128e5f6..e1d80c742 100644 --- a/tools/pve/cron-update-lxcs.sh +++ b/tools/pve/cron-update-lxcs.sh @@ -3,17 +3,17 @@ # Copyright (c) 2021-2026 community-scripts ORG # Author: tteck (tteckster) | Rewritten by community-scripts # License: MIT -# https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/LICENSE +# https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE # # This script manages a local cron job for automatic LXC container OS updates. # The update script is downloaded once, displayed for review, and installed # locally. Cron runs the local copy — no remote code execution at runtime. # -# bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/tools/pve/cron-update-lxcs.sh)" +# bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/tools/pve/cron-update-lxcs.sh)" set -euo pipefail -REPO_URL="https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main" +REPO_URL="https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main" SCRIPT_URL="${REPO_URL}/tools/pve/update-lxcs-cron.sh" LOCAL_SCRIPT="/usr/local/bin/update-lxcs.sh" CONF_FILE="/etc/update-lxcs.conf" diff --git a/tools/pve/update-lxcs-cron.sh b/tools/pve/update-lxcs-cron.sh index 166a42d94..30b735279 100644 --- a/tools/pve/update-lxcs-cron.sh +++ b/tools/pve/update-lxcs-cron.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2026 community-scripts ORG # Author: tteck (tteckster) | Rewritten by community-scripts # License: MIT -# https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/LICENSE +# https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE # # This script is installed locally by cron-update-lxcs.sh and executed # by cron. It updates all LXC containers using their native package manager.