From 847ea654687d9ffc3da886774ce854eff446921b Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Sat, 28 Nov 2020 15:05:48 +0530 Subject: [PATCH] Fix php 8 on macos --- src/scripts/darwin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/darwin.sh b/src/scripts/darwin.sh index 585fff13..058d975c 100644 --- a/src/scripts/darwin.sh +++ b/src/scripts/darwin.sh @@ -217,7 +217,7 @@ setup_php() { update_dependencies export HOMEBREW_NO_INSTALL_CLEANUP=TRUE brew tap --shallow shivammathur/homebrew-php - brew install shivammathur/php/php@"$version" + brew upgrade shivammathur/php/php@"$version" 2>/dev/null || brew install shivammathur/php/php@"$version" brew link --force --overwrite php@"$version" }