mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-26 13:23:05 +07:00
Add http dependencies when version is specified
This commit is contained in:
parent
27eef9a04c
commit
dfd2c8da97
@ -91,6 +91,7 @@ add_http_version() {
|
|||||||
ext=$1
|
ext=$1
|
||||||
enable_http
|
enable_http
|
||||||
if [ "x$(php -r "echo phpversion('http');")" != "x${ext##*-}" ]; then
|
if [ "x$(php -r "echo phpversion('http');")" != "x${ext##*-}" ]; then
|
||||||
|
add_http_dependencies
|
||||||
disable_extension_helper http >/dev/null
|
disable_extension_helper http >/dev/null
|
||||||
add_http_helper pecl_http-"${ext##*-}" "$os"
|
add_http_helper pecl_http-"${ext##*-}" "$os"
|
||||||
status="Installed and enabled"
|
status="Installed and enabled"
|
||||||
|
Loading…
Reference in New Issue
Block a user