From 85dbb9181a4c2a8f50f47c12a95834bbd368c16c Mon Sep 17 00:00:00 2001 From: Thorsten Spille Date: Tue, 13 Apr 2021 15:44:54 +0000 Subject: [PATCH] Rearranged package installation --- mailpiler.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/mailpiler.sh b/mailpiler.sh index fe635c4..6cb912d 100644 --- a/mailpiler.sh +++ b/mailpiler.sh @@ -27,13 +27,14 @@ else echo "Hostname matches PILER_FQDNAIN, so starting installation." fi -wget -q https://packages.sury.org/php/apt.gpg -O- | apt-key add - -echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/php.list - apt update && apt full-upgrade -y apt install -y $LXC_TOOLSET build-essential libwrap0-dev libpst-dev tnef libytnef0-dev unrtf catdoc libtre-dev tre-agrep poppler-utils libzip-dev unixodbc libpq5 software-properties-common libpoppler-dev openssl libssl-dev memcached telnet nginx mariadb-server default-libmysqlclient-dev python-mysqldb gcc libwrap0 libzip4 latex2rtf latex2html catdoc tnef zipcmp zipmerge ziptool libsodium23 +# install php +wget -q https://packages.sury.org/php/apt.gpg -O- | apt-key add - +echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/php.list + apt update && apt install -y php$PILER_PHP_VERSION-{fpm,common,ldap,mysql,cli,opcache,phpdbg,gd,memcache,json,readline,zip} apt purge -y postfix