Skip to content

Commit

Permalink
Fix path in mambaforge install
Browse files Browse the repository at this point in the history
  • Loading branch information
wence- committed Feb 12, 2025
1 parent efee736 commit b648d1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions features/src/mambaforge/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ cat <<"EOF" > /opt/conda/etc/profile.d/mamba.sh
if [ -z "${MAMBA_ROOT_PREFIX:-}" ]; then
export MAMBA_ROOT_PREFIX="${CONDA_PREFIX:-/opt/conda}"
fi
__mamba_setup="$("/opt/conda/mamba" shell hook --shell posix 2> /dev/null)"
__mamba_setup="$("/opt/conda/bin/mamba" shell hook --shell posix 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__mamba_setup"
else
alias mamba="/opt/conda/mamba" # Fallback on help from mamba activate
alias mamba="/opt/conda/bin/mamba" # Fallback on help from mamba activate
fi
unset __mamba_setup
EOF
Expand Down

0 comments on commit b648d1f

Please sign in to comment.