Update default packages in linux

This commit is contained in:
Shivam Mathur 2020-01-08 22:07:21 +05:30
parent 552df3f2b0
commit e839a77d8c
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -133,11 +133,11 @@ if [ "$existing_version" != "$version" ]; then
update_ppa
ppa_updated=1
if [ "$version" = "7.4" ]; then
$apt_install php"$version" php"$version"-phpdbg php"$version"-xml curl php"$version"-curl >/dev/null 2>&1
$apt_install php"$version" php"$version"-curl php"$version"-mbstring php"$version"-xml php"$version"-phpdbg >/dev/null 2>&1
elif [ "$version" = "8.0" ]; then
setup_master
else
$apt_install php"$version" curl php"$version"-curl >/dev/null 2>&1
$apt_install php"$version" php"$version"-curl php"$version"-mbstring php"$version"-xml >/dev/null 2>&1
fi
status="installed"
else