Skip to content

Commit 15046ae

Browse files
authored
fix update
1 parent 2087a8e commit 15046ae

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

ct/proxmox-datacenter-manager.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,20 @@ function update_script() {
3737
msg_ok "Updated old sources"
3838
fi
3939

40+
if grep -q 'Debian GNU/Linux 13' /etc/os-release; then
41+
if [ -f "/etc/apt/sources.list.d/pdm-test.sources" ]; then
42+
if ! grep -qx "Enabled: false" "/etc/apt/sources.list.d/pdm-test.sources"; then
43+
echo "Enabled: false" >> "/etc/apt/sources.list.d/pdm-test.sources"
44+
setup_deb822_repo \
45+
"pdm" \
46+
"https://enterprise.proxmox.com/debian/proxmox-archive-keyring-trixie.gpg" \
47+
"http://download.proxmox.com/debian/pdm" \
48+
"trixie" \
49+
"pdm-no-subscription"
50+
fi
51+
fi
52+
fi
53+
4054
msg_info "Updating $APP LXC"
4155
$STD apt update
4256
$STD apt -y upgrade

0 commit comments

Comments
 (0)