Improve extension support on macOS

This commit is contained in:
Shivam Mathur
2022-11-14 15:17:12 +05:30
parent 1a18b2267f
commit 4704ad638a
7 changed files with 32 additions and 27 deletions

View File

@ -17,6 +17,10 @@ add_gearman_helper() {
# Function to add gearman extension.
add_gearman() {
status="Enabled"
add_gearman_helper >/dev/null 2>&1
add_extension_log "gearman" "$status"
if [ "$(uname -s)" = 'Linux' ]; then
add_gearman_helper >/dev/null 2>&1
add_extension_log "gearman" "$status"
else
add_brew_extension gearman extension
fi
}