mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-22 11:51:07 +07:00
Run configure_pecl only when ini_files are set
This commit is contained in:
parent
d2efbcd126
commit
89f4f7e8be
@ -120,6 +120,7 @@ disable_all_shared() {
|
||||
|
||||
# Function to configure PECL.
|
||||
configure_pecl() {
|
||||
[ -z "${pecl_file:-${ini_file[@]}}" ] && return
|
||||
if ! [ -e /tmp/pecl_config ]; then
|
||||
for script in pear pecl; do
|
||||
sudo "$script" config-set php_ini "${pecl_file:-${ini_file[@]}}"
|
||||
|
Loading…
Reference in New Issue
Block a user