From ef23eaa7807be1d1f05d6600d0c82bcab03757cf Mon Sep 17 00:00:00 2001 From: Brian Zalewski <59970525+ProfessorManhattan@users.noreply.github.com> Date: Mon, 29 Jan 2024 05:18:01 +0000 Subject: [PATCH] Latest --- home/dot_config/mise/config.toml | 1 - software.yml | 8 +++++--- 2 files changed, 5 insertions(+), 4 deletions(-) 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