Install only cli on linux

This commit is contained in:
Shivam Mathur 2020-07-20 17:03:29 +05:30
parent 66fa82fbca
commit 5b2e081bc0
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -271,8 +271,8 @@ if [ "$existing_version" != "$version" ]; then
setup_master >/dev/null 2>&1 setup_master >/dev/null 2>&1
else else
update_lists update_lists
IFS=' ' read -r -a packages <<< "$(echo "curl mbstring xml intl" | sed "s/[^ ]*/php$version-&/g")" IFS=' ' read -r -a packages <<< "$(echo "cli curl mbstring xml intl" | sed "s/[^ ]*/php$version-&/g")"
$apt_install php"$version" "${packages[@]}" >/dev/null 2>&1 $apt_install "${packages[@]}"
fi fi
status="Installed" status="Installed"
else else