proxmox: Add pbs/pmg

Ref to https://github.com/tuna/issues/issues/1387
This commit is contained in:
Zenithal 2022-09-05 13:49:28 +08:00
parent 0f90fe9e94
commit 81285fb4d4

View File

@ -10,10 +10,16 @@ BASE_URL="${TUNASYNC_UPSTREAM_URL:-"http://download.proxmox.com"}"
BASE_PATH="${TUNASYNC_WORKING_DIR}" BASE_PATH="${TUNASYNC_WORKING_DIR}"
APT_PATH="${BASE_PATH}/debian" APT_PATH="${BASE_PATH}/debian"
PBS_PATH="${BASE_PATH}/pbs"
PBS_CLIENT_PATH="${BASE_PATH}/pbs-client"
PMG_PATH="${BASE_PATH}/pmg"
# === download deb packages ==== # === download deb packages ====
"$apt_sync" --delete "${BASE_URL}/debian" @debian-current pve-no-subscription,pvetest amd64 "$APT_PATH" "$apt_sync" --delete "${BASE_URL}/debian" @debian-current pve-no-subscription,pvetest amd64 "$APT_PATH"
"$apt_sync" --delete "${BASE_URL}/debian/pbs" @debian-current pbs-no-subscription amd64 "$PBS_PATH"
"$apt_sync" --delete "${BASE_URL}/debian/pbs-client" @debian-current main amd64 "$PBS_CLIENT_PATH"
"$apt_sync" --delete "${BASE_URL}/debian/pmg" @debian-current pmg-no-subscription amd64 "$PMG_PATH"
echo "Debian finished" echo "Debian finished"
# === download standalone files ==== # === download standalone files ====