Skip to content

Commit

Permalink
Fix: Use libcurl4t64 where available, otherwise use libcurl4.
Browse files Browse the repository at this point in the history
  • Loading branch information
bokysan committed Jan 16, 2025
1 parent 1fcc023 commit 8a5aed2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build-scripts/postfix-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ do_ubuntu() {
apt-get install -y libsasl2-modules sasl2-bin
apt-get install -y postfix postfix-pcre postfix-ldap
apt-get install -y opendkim
apt-get install -y ca-certificates tzdata supervisor rsyslog bash opendkim-tools curl libcurl4t64 libjsoncpp25 sasl2-bin postfix-lmdb procps logrotate cron net-tools colorized-logs netcat-openbsd ${RELEASE_SPECIFIC_PACKAGES}
local libcurl="libcurl4"
if "$(apt-cache search --names-only '^libcurl4t64$')" != ""; then
libcurl="libcurl4t64"
fi
apt-get install -y ca-certificates tzdata supervisor rsyslog bash opendkim-tools curl ${libcurl} libjsoncpp25 sasl2-bin postfix-lmdb procps logrotate cron net-tools colorized-logs netcat-openbsd ${RELEASE_SPECIFIC_PACKAGES}
apt-get clean
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
}
Expand Down

0 comments on commit 8a5aed2

Please sign in to comment.