diff --git a/home/dot_config/mise/config.toml b/home/dot_config/mise/config.toml index c77733b1..6319c932 100644 --- a/home/dot_config/mise/config.toml +++ b/home/dot_config/mise/config.toml @@ -1,6 +1,5 @@ [tools] java = 'openjdk-20' -node = 'lts' python = ['3.10', '3.11', '3.12'] ruby = '3.1.3' diff --git a/software.yml b/software.yml index 427ceda1..a63cded8 100644 --- a/software.yml +++ b/software.yml @@ -2646,9 +2646,11 @@ softwarePackages: _name: mise _post: | #!/usr/bin/env bash - mise use --global openjdk-20 - sudo mkdir -p /Library/Java/JavaVirtualMachines/openjdk-20.jdk - sudo ln -s "${XDG_DATA_HOME:-$HOME/.local/share}/mise/installs/java/openjdk-20/Contents" /Library/Java/JavaVirtualMachines/openjdk-20.jdk/Contents + mise install + if [ -d "${XDG_DATA_HOME:-$HOME/.local/share}/mise/installs/java/openjdk-20/Contents" ]; then + sudo mkdir -p /Library/Java/JavaVirtualMachines/openjdk-20.jdk + sudo ln -s "${XDG_DATA_HOME:-$HOME/.local/share}/mise/installs/java/openjdk-20/Contents" /Library/Java/JavaVirtualMachines/openjdk-20.jdk/Contents + fi apk: mise brew: mise cargo: mise-cli