mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-23 04:11:06 +07:00
Hotfix: Force update ppa
This commit is contained in:
parent
71571f685a
commit
64ba54fc1b
@ -287,10 +287,7 @@ if [ "$existing_version" != "$version" ]; then
|
|||||||
elif [[ "$version" =~ $old_versions ]] || [ "$version" = "5.3" ]; then
|
elif [[ "$version" =~ $old_versions ]] || [ "$version" = "5.3" ]; then
|
||||||
setup_old_versions
|
setup_old_versions
|
||||||
else
|
else
|
||||||
version_exists=$(apt-cache policy -- php"$version" | grep "$version")
|
update_ppa
|
||||||
if [ -z "$version_exists" ]; then
|
|
||||||
update_ppa
|
|
||||||
fi
|
|
||||||
$apt_install php"$version" php"$version"-curl php"$version"-mbstring php"$version"-xml >/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"
|
||||||
|
Loading…
Reference in New Issue
Block a user