Fix: Proper detection for libcurl4t64

This commit is contained in:
Bojan Čekrlić 2025-01-16 23:56:28 +01:00
parent 8a5aed21e8
commit 5113756b08

View file

@ -24,7 +24,7 @@ do_ubuntu() {
apt-get install -y postfix postfix-pcre postfix-ldap
apt-get install -y opendkim
local libcurl="libcurl4"
if "$(apt-cache search --names-only '^libcurl4t64$')" != ""; then
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}