blob: db8816f1a4040d37c21cd012376e657427aaf892 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
post_install(){
echo -e '
If your shell is Bash or a Bourne variant, enable conda for the current user with
$ echo "[ -f /opt/miniforge/etc/profile.d/conda.sh ] && source /opt/miniforge/etc/profile.d/conda.sh" >> ~/.bashrc
or, for all users, enable conda with
$ sudo ln -s /opt/miniforge/etc/profile.d/conda.sh /etc/profile.d/conda.sh
'
}
post_remove(){
echo -e '
Remember to remove mamba initialization from your shell (e.g., .bashrc)
or, if you enabled for all users, remove /etc/profile.d/conda.sh
'
}
|