Skip to content

Commit

Permalink
switch back to miniforge (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasdiener authored Oct 1, 2024
1 parent 2625406 commit d5f0fd3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions install-conda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ myarch=$(uname -m)
MY_CONDA_DIR=${MY_CONDA_DIR:-$HOME/miniforge3}

if [[ ! -d $MY_CONDA_DIR || ! -x $MY_CONDA_DIR/bin/conda ]]; then
echo "==== Installing Mambaforge in $MY_CONDA_DIR."
curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-$myos-$myarch.sh"
bash "Mambaforge-$myos-$myarch.sh" -u -b -p "$MY_CONDA_DIR"
echo "==== Installing Miniforge in $MY_CONDA_DIR."
curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$myos-$myarch.sh"
bash "Miniforge3-$myos-$myarch.sh" -u -b -p "$MY_CONDA_DIR"
else
echo "==== Conda found in $MY_CONDA_DIR, skipping Mambaforge installation."
echo "==== Conda found in $MY_CONDA_DIR, skipping Miniforge installation."
fi

0 comments on commit d5f0fd3

Please sign in to comment.