From 5b2e081bc032c88227e55cd22698e9f84f9ed178 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Mon, 20 Jul 2020 17:03:29 +0530 Subject: [PATCH] Install only cli on linux --- src/scripts/linux.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/linux.sh b/src/scripts/linux.sh index e5791922..5efb5f76 100644 --- a/src/scripts/linux.sh +++ b/src/scripts/linux.sh @@ -271,8 +271,8 @@ if [ "$existing_version" != "$version" ]; then setup_master >/dev/null 2>&1 else update_lists - IFS=' ' read -r -a packages <<< "$(echo "curl mbstring xml intl" | sed "s/[^ ]*/php$version-&/g")" - $apt_install php"$version" "${packages[@]}" >/dev/null 2>&1 + IFS=' ' read -r -a packages <<< "$(echo "cli curl mbstring xml intl" | sed "s/[^ ]*/php$version-&/g")" + $apt_install "${packages[@]}" fi status="Installed" else