Skip to content

Commit

Permalink
use OS and ARCH for URL.
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoester committed May 3, 2023
1 parent 706f7fb commit f92a560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install-and-set-up-conda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ BIOCONDA_UTILS_TAG=$(grep "^BIOCONDA_UTILS_TAG=" common.sh | cut -f2 -d "=" | se
MAMBAFORGE_VER=$(grep "^MAMBAFORGE_VER=" common.sh | cut -f2 -d "=")
MAMBAFORGE_INSTALLATION_DIR="/opt/mambaforge"
ARCH=$(uname -m)
MAMBAFORGE_URL="https://github.com/conda-forge/miniforge/releases/download/${MAMBAFORGE_VER}/Mambaforge-${MAMBAFORGE_VER}-Linux-x86_64.sh"
MAMBAFORGE_URL="https://github.com/conda-forge/miniforge/releases/download/${MAMBAFORGE_VER}/Mambaforge-${MAMBAFORGE_VER}-${OS}-${ARCH}.sh"

if [[ $(uname) == "Darwin" ]]; then
OS="MacOSX"
Expand Down

0 comments on commit f92a560

Please sign in to comment.