fix(proxmox-mail-gateway): read the codename inline

This commit is contained in:
MickLesk
2026-11-05 14:13:30 +01:00
parent 8adb580702
commit ce245ea870
+2 -3
View File
@@ -14,12 +14,11 @@ network_check
update_os
msg_info "Installing Proxmox Mail Gateway"
CODENAME="$(get_os_info codename)"
setup_deb822_repo \
"pmg" \
"https://enterprise.proxmox.com/debian/proxmox-release-${CODENAME}.gpg" \
"https://enterprise.proxmox.com/debian/proxmox-release-$(get_os_info codename).gpg" \
"http://download.proxmox.com/debian/pmg" \
"${CODENAME}" \
"$(get_os_info codename)" \
"pmg-no-subscription"
$STD apt install -y proxmox-mailgateway-container
msg_ok "Installed Proxmox Mail Gateway"