Fix: Use libcurl4t64 where available, otherwise use libcurl4.

This commit is contained in:
Bojan Čekrlić 2025-01-16 23:44:12 +01:00
parent 1fcc02381e
commit 8a5aed21e8

View file

@ -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/*
}