mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-23 04:11:06 +07:00
Update default packages in linux
This commit is contained in:
parent
552df3f2b0
commit
e839a77d8c
@ -133,11 +133,11 @@ if [ "$existing_version" != "$version" ]; then
|
|||||||
update_ppa
|
update_ppa
|
||||||
ppa_updated=1
|
ppa_updated=1
|
||||||
if [ "$version" = "7.4" ]; then
|
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
|
elif [ "$version" = "8.0" ]; then
|
||||||
setup_master
|
setup_master
|
||||||
else
|
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
|
fi
|
||||||
status="installed"
|
status="installed"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user