From 1de6b46a80c38f6ba21d5529d23e60e48f2a7b48 Mon Sep 17 00:00:00 2001 From: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com> Date: Sat, 2 Aug 2025 13:49:36 +0200 Subject: [PATCH] fix: set proper default for `DOCECOT_COMMUNITY_REPO` in `packages.sh` Signed-off-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com> --- target/scripts/build/packages.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/scripts/build/packages.sh b/target/scripts/build/packages.sh index d187c77b..ceb4fbcf 100644 --- a/target/scripts/build/packages.sh +++ b/target/scripts/build/packages.sh @@ -159,7 +159,7 @@ function _install_dovecot() { # NOTE: AMD64 / x86_64 is the only supported arch from the Dovecot CE repo (thus noDMS built for ARM64 / aarch64) # Repo: https://repo.dovecot.org/ce-2.4-latest/debian/bookworm/dists/bookworm/main/ # Docs: https://repo.dovecot.org/#debian - if [[ ${DOVECOT_COMMUNITY_REPO} -eq 1 ]] && [[ "$(uname --machine)" == "x86_64" ]]; then + if [[ ${DOVECOT_COMMUNITY_REPO:-0} -eq 1 ]] && [[ $(uname --machine) == x86_64 ]]; then # WARNING: Repo only provides Debian Bookworm package support for Dovecot CE 2.4+. # As Debian Bookworm only packages Dovecot 2.3.x, building DMS with this alternative package repo may not yet be compatible with DMS: # - 2.3.19: https://salsa.debian.org/debian/dovecot/-/tree/stable/bookworm