From d7dfc49df4af5bf37c43acc25b2c009a8689e979 Mon Sep 17 00:00:00 2001 From: casperklein Date: Mon, 29 Jan 2024 23:20:54 +0100 Subject: [PATCH] streamline curl options --- 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 fe5ec055..386263f2 100644 --- a/target/scripts/build/packages.sh +++ b/target/scripts/build/packages.sh @@ -144,7 +144,7 @@ function _install_dovecot() { # when building for another architecture. if [[ ${DOVECOT_COMMUNITY_REPO} -eq 1 ]] && [[ "$(uname --machine)" == "x86_64" ]]; then _log 'trace' 'Using Dovecot community repository' - curl https://repo.dovecot.org/DOVECOT-REPO-GPG | gpg --import + curl -sSfL https://repo.dovecot.org/DOVECOT-REPO-GPG | gpg --import gpg --export ED409DA1 > /etc/apt/trusted.gpg.d/dovecot.gpg # VERSION_CODENAME sourced from /etc/os-release echo "deb https://repo.dovecot.org/ce-2.3-latest/debian/${VERSION_CODENAME} ${VERSION_CODENAME} main" > /etc/apt/sources.list.d/dovecot.list