Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] solving the mambaforge miniforge depreciation in the quick_install #171

Open
wants to merge 2 commits into
base: rubicon
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions utils/quick_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,34 +139,34 @@ fi

##################
# #
# Mambaforge #
# Miniforge #
# #
##################

MINICONDA=
MINICONDAPATH="${PREFIX}/mambaforge"
MINICONDAPATH="${PREFIX}/miniforge"

title 'installing Mambaforge'
title 'installing Miniforge3'

# Check if directory is free
check_directory "${MINICONDAPATH}" 'Mambaforge installation path'

# Check OS for OS-Spefic Mambaforge installer
MINICONDA="Mambaforge-$(uname)-$(uname -m).sh"
MINICONDA="Miniforge3-$(uname)-$(uname -m).sh"
message 'Using installer:' "${MINICONDA}"

# Get and install Mambaforge
# shellcheck disable=SC2015
mkdir -p "${PREFIX}" && cd "${PREFIX}" || fail "Could not create directory: ${PREFIX}"
[[ -f "${MINICONDA}" ]] && rm "${MINICONDA}"
${DOWNLOAD} "https://github.com/conda-forge/miniforge/releases/latest/download/${MINICONDA}"
sh "${MINICONDA}" -b -p mambaforge
sh "${MINICONDA}" -b -p miniforge
# -b for batch (no question asked)
MINICONDAFULLPATH="$(pwd)/mambaforge"
MINICONDAFULLPATH="$(pwd)/miniforge"


# shellcheck source=/dev/null
. mambaforge/bin/activate
. miniforge/bin/activate

# set the channel precedence (lowest to highest)
conda config --add channels defaults
Expand Down
Loading