diff --git a/src/scripts/darwin.sh b/src/scripts/darwin.sh index 7c64351b..8a39ac03 100644 --- a/src/scripts/darwin.sh +++ b/src/scripts/darwin.sh @@ -53,6 +53,7 @@ add_tool() { tool=$2 if [ "$tool" = "composer" ]; then brew install composer >/dev/null 2>&1 + composer -q global config process-timeout 0 else if [ ! -e /usr/local/bin/"$tool" ]; then rm -rf /usr/local/bin/"${tool:?}" diff --git a/src/scripts/linux.sh b/src/scripts/linux.sh index 695facde..816466e1 100644 --- a/src/scripts/linux.sh +++ b/src/scripts/linux.sh @@ -80,6 +80,9 @@ add_tool() { else add_log "$cross" "$tool" "Could not setup $tool" fi + if [ "$tool" = "composer" ]; then + composer -q global config process-timeout 0 + fi } add_composer_tool() { diff --git a/src/scripts/win32.ps1 b/src/scripts/win32.ps1 index 25a07a7f..c415256b 100644 --- a/src/scripts/win32.ps1 +++ b/src/scripts/win32.ps1 @@ -91,6 +91,7 @@ Function Add-Tool() { ) if($tool -eq "composer") { Install-Composer -Scope System -Path $php_dir -PhpPath $php_dir + composer -q global config process-timeout 0 Add-Log $tick $tool "Added" } else { if (Test-Path $php_dir\$tool) {