Use --no-install-recommends with APT on Linux

This commit is contained in:
Shivam Mathur 2021-07-28 22:27:37 +05:30
parent 91bd11146c
commit 05b4ac2afb
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -277,7 +277,7 @@ setup_php() {
version=$1 version=$1
dist=$2 dist=$2
debconf_fix="DEBIAN_FRONTEND=noninteractive" debconf_fix="DEBIAN_FRONTEND=noninteractive"
apt_install="sudo $debconf_fix apt-fast install -y" apt_install="sudo $debconf_fix apt-fast install -y --no-install-recommends"
scripts="${dist}"/../src/scripts scripts="${dist}"/../src/scripts
. /etc/os-release . /etc/os-release