From d6e173ffc66e41a3a5eddc4d1ef7fd5598b5e9a1 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Mon, 27 Jan 2020 21:32:49 +0530 Subject: [PATCH] Fix pecl command in linux --- src/scripts/linux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/linux.sh b/src/scripts/linux.sh index 02068c29..767ce854 100644 --- a/src/scripts/linux.sh +++ b/src/scripts/linux.sh @@ -47,7 +47,7 @@ add_extension() { elif ! php -m | grep -i -q -w "$extension"; then (eval "$install_command" && add_log "$tick" "$extension" "Installed and enabled") || (update_ppa && eval "$install_command" && add_log "$tick" "$extension" "Installed and enabled") || - (sudo pecl install -f "$extension" && add_log "$tick" "$extension" "Installed and enabled") || + (sudo pecl install -f "$extension" >/dev/null 2>&1 && add_log "$tick" "$extension" "Installed and enabled") || add_log "$cross" "$extension" "Could not install $extension on PHP $semver" fi sudo chmod 777 "$ini_file"