From 26f342d948ac331c4ce3a8e26bc132aca62a6a92 Mon Sep 17 00:00:00 2001 From: Alexey Kupershtokh Date: Thu, 11 Feb 2021 09:57:16 +0700 Subject: [PATCH] Added --no-install-recommends --- install-php-extensions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-php-extensions b/install-php-extensions index fa8e41b..1e4e421 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -1027,7 +1027,7 @@ expandPackagesToBeInstalled() { resetIFS ;; debian) - expandPackagesToBeInstalled_log="$(DEBIAN_FRONTEND=noninteractive apt-get install -sy $@ 2>&1 || printf '\nE: apt-get failed\n')" + expandPackagesToBeInstalled_log="$(DEBIAN_FRONTEND=noninteractive apt-get install -sy --no-install-recommends $@ 2>&1 || printf '\nE: apt-get failed\n')" if test -n "$(printf '%s' "$expandPackagesToBeInstalled_log" | grep -E '^E:')"; then printf 'FAILED TO LIST THE WHOLE PACKAGE LIST FOR\n' >&2 printf '%s ' "$@" >&2