Update ini files for all available SAPI

This commit is contained in:
Shivam Mathur
2020-12-02 05:50:56 +05:30
parent 5a15252e66
commit f0fb8731a5
7 changed files with 41 additions and 22 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ add_blackfire() {
no_dot_version=${version/./}
platform=$(uname -s | tr '[:upper:]' '[:lower:]')
extension_version=$(echo "$extension" | cut -d '-' -f 2)
blackfire_ini_file="${scan_dir:?}/50-blackfire.ini"
blackfire_ini_file="${pecl_file:-${ini_file[@]}}"
if [ ! -e "${ext_dir:?}/blackfire.so" ]; then
if [ "$extension_version" = "blackfire" ]; then
extension_version=$(get -s -n "" https://blackfire.io/api/v1/releases | grep -Eo 'php":"([0-9]+.[0-9]+.[0-9]+)' | cut -d '"' -f 3)