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.
This commit is contained in:
CanbiZ (MickLesk)
2026-03-12 11:35:21 +01:00
parent 73b8a02a8c
commit 1cbc30e578
2 changed files with 4 additions and 4 deletions

View File

@@ -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"

View File

@@ -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.