From ce245ea870009be900d940a0eb080330bae90468 Mon Sep 17 00:00:00 2001 From: MickLesk <47820557+MickLesk@users.noreply.github.com> Date: Thu, 5 Nov 2026 14:13:30 +0100 Subject: [PATCH] fix(proxmox-mail-gateway): read the codename inline --- install/proxmox-mail-gateway-install.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/install/proxmox-mail-gateway-install.sh b/install/proxmox-mail-gateway-install.sh index e53b99e8a..1af9e208c 100644 --- a/install/proxmox-mail-gateway-install.sh +++ b/install/proxmox-mail-gateway-install.sh @@ -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"