From 89f4f7e8bed4f0220e0385101365e8241551df53 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Mon, 24 Oct 2022 10:30:28 +0530 Subject: [PATCH] Run configure_pecl only when ini_files are set --- src/scripts/extensions/add_extensions.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/scripts/extensions/add_extensions.sh b/src/scripts/extensions/add_extensions.sh index 0b461dfa..cf8cd86f 100644 --- a/src/scripts/extensions/add_extensions.sh +++ b/src/scripts/extensions/add_extensions.sh @@ -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[@]}}"