mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-22 20:01:06 +07:00
Add pear/pecl by default to self-hosted Linux environments
This commit is contained in:
parent
4dc94c27cf
commit
8b26e8d15a
@ -132,6 +132,7 @@ add_packaged_php() {
|
||||
add_ppa ondrej/php >/dev/null 2>&1 || update_ppa ondrej/php
|
||||
IFS=' ' read -r -a packages <<<"$(sed "s/[^ ]*/php$version-&/g" "$src"/configs/php_packages | tr '\n' ' ')"
|
||||
install_packages "${packages[@]}"
|
||||
add_pecl
|
||||
else
|
||||
run_script "php-ubuntu" "$version"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user