apt: pdm uses separator for test repo

For consistency with it's other repositories, we might migrate other
products also to this schema with a future major release (and nginx
rewrite config for backward compatibility)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2024-12-19 12:40:25 +01:00
parent df6b705f56
commit 942186e2b7

View File

@ -160,7 +160,10 @@ impl APTRepositoryHandleImpl for APTRepositoryHandle {
],
_ => vec![format!("http://download.proxmox.com/debian/{}", product)],
},
format!("{}test", product),
match product {
"pdm" => format!("{}-test", product),
_ => format!("{}test", product),
},
),
APTRepositoryHandle::CephQuincyEnterprise => (
APTRepositoryPackageType::Deb,