From 8dee767b8278d6e5a48010811234994fe90bdfff Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Sat, 11 Jul 2020 23:00:50 +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 07e7f0c9..ad79046a 100644 --- a/src/scripts/linux.sh +++ b/src/scripts/linux.sh @@ -361,8 +361,8 @@ php_semver() { # Function to install packaged PHP add_packaged_php() { update_lists - IFS=' ' read -r -a packages <<< "$(echo "curl mbstring xml intl" | sed "s/[^ ]*/php$version-&/g")" - $apt_install php"$version" "${packages[@]}" + IFS=' ' read -r -a packages <<< "$(echo "cli curl mbstring xml intl" | sed "s/[^ ]*/php$version-&/g")" + $apt_install "${packages[@]}" } # Function to update PHP.