fix(mac): ensure corepack enable can be called

Disable always works, enable fails if the links already exist.
This commit is contained in:
Saibotk 2024-12-19 17:14:55 +01:00
parent 1ed13411c8
commit 311fdd11f6
Signed by: saibotk
GPG key ID: 67585F0065E261D5

View file

@ -35,6 +35,7 @@ flutter --disable-analytics
sudo ln -sfn $HOMEBREW_PREFIX/opt/openjdk/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk sudo ln -sfn $HOMEBREW_PREFIX/opt/openjdk/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk
# Enable corepack # Enable corepack
corepack disable
corepack enable corepack enable
# Install global Composer packages # Install global Composer packages