From 311fdd11f6ce0021a4da018169d1b9998a0ee992 Mon Sep 17 00:00:00 2001 From: Saibotk Date: Thu, 19 Dec 2024 17:14:55 +0100 Subject: [PATCH] fix(mac): ensure corepack enable can be called Disable always works, enable fails if the links already exist. --- install-mac.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install-mac.sh b/install-mac.sh index da1963e..f979750 100755 --- a/install-mac.sh +++ b/install-mac.sh @@ -35,6 +35,7 @@ flutter --disable-analytics sudo ln -sfn $HOMEBREW_PREFIX/opt/openjdk/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk # Enable corepack +corepack disable corepack enable # Install global Composer packages