fix(dovecot): download dovecot packages from github release

This commit is contained in:
j4n
2026-02-26 21:06:55 +01:00
parent dbd5cd16f5
commit e428c646d1

View File

@@ -54,7 +54,7 @@ class DovecotDeployer(Deployer):
def _install_dovecot_package(package: str, arch: str):
arch = "amd64" if arch == "x86_64" else arch
arch = "arm64" if arch == "aarch64" else arch
url = f"https://download.delta.chat/dovecot/dovecot-{package}_2.3.21%2Bdfsg1-3_{arch}.deb"
url = f"https://github.com/chatmail/dovecot/releases/download/upstream%2F2.3.21%2Bdfsg1//dovecot-{package}_2.3.21%2Bdfsg1-3_{arch}.deb"
deb_filename = "/root/" + url.split("/")[-1]
match (package, arch):