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

Update LinuxMac.sh: miniforge3 #22

Open
wants to merge 1 commit into
base: main
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
4 changes: 2 additions & 2 deletions LinuxMac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ echo "mamba installed"
echo "Aborting. You need at least $mssSize GB of space to install mamba and MSS" && exit 1;
fi &&
echo $HOME
. "$HOME/Miniforge/etc/profile.d/conda.sh" &&
. "$HOME/Miniforge/etc/profile.d/mamba.sh" &&
. "$HOME/miniforge3/etc/profile.d/conda.sh" &&
. "$HOME/miniforge3/etc/profile.d/mamba.sh" &&
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried on a fresh user, by

sudo useradd -s /bin/bash -m exampleuser
sudo su - exampleuser
git clone https://github.com/Open-MSS/mss-install.git
cd mss-install/
git checkout miniforge3
./LinuxMac.sh -a

ls ../
 Miniforge   mss-install 

there is the old name

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the changed name comes when the -a option is not used.

Have a look if you can make it consistant.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mamba init &&
mamba update -n base mamba -y && # update mamba to the newest version
mamba activate mssenv || {
Expand Down
Loading