Fix source formats and update Proxmox keyrings
Updated outdated source formats for Proxmox and removed old keyrings.
This commit is contained in:
parent
ae7fdb4862
commit
3311221d5e
@ -29,10 +29,12 @@ function update_script() {
|
||||
fi
|
||||
|
||||
if grep -q 'Debian GNU/Linux 12' /etc/os-release && [ -f /etc/apt/sources.list.d/proxmox-release-bookworm.list ] && [ -f /etc/apt/sources.list.d/pdm-test.list ]; then
|
||||
msg_info "Updating outdated outdated source formats"
|
||||
echo "deb [signed-by=/usr/share/keyrings/proxmox-archive-keyring.gpg] http://download.proxmox.com/debian/pdm bookworm pdm-test" > /etc/apt/sources.list.d/pdm-test.list
|
||||
curl -fsSL https://enterprise.proxmox.com/debian/proxmox-archive-keyring-trixie.gpg -o /usr/share/keyrings/proxmox-archive-keyring.gpg
|
||||
rm -f /etc/apt/keyrings/proxmox-release-bookworm.gpg /etc/apt/sources.list.d/proxmox-release-bookworm.list
|
||||
$STD apt update
|
||||
msg_ok "Updated old sources"
|
||||
fi
|
||||
|
||||
msg_info "Updating $APP LXC"
|
||||
|
Loading…
x
Reference in New Issue
Block a user