summarylogtreecommitdiffstats
path: root/miniconda3.install
diff options
context:
space:
mode:
authorjadelord2018-08-08 14:07:37 +0200
committerjadelord2018-08-08 14:07:37 +0200
commitc8ba875acd16e58bf0ecf2988c2fb34a1b217edd (patch)
tree141ca82a9f08b7c278e518d26f30261760ac359b /miniconda3.install
parentf15b6af192ce167ab86370df24cb7e20b84bc64b (diff)
downloadaur-c8ba875acd16e58bf0ecf2988c2fb34a1b217edd.tar.gz
Update version, new post_install instructions
Diffstat (limited to 'miniconda3.install')
-rw-r--r--miniconda3.install13
1 files changed, 9 insertions, 4 deletions
diff --git a/miniconda3.install b/miniconda3.install
index 0406dbc23eab..f94e2a0cbcfd 100644
--- a/miniconda3.install
+++ b/miniconda3.install
@@ -1,7 +1,12 @@
post_install(){
- echo -e "Please run\n"
- echo -e "\t$ source /opt/miniconda3/bin/activate root"
- echo -e "\t$ source /opt/miniconda3/bin/deactivate root"
- echo -e "\nto activate and deactivate the miniconda3 enviroment.\n"
+ echo -e '
+If your shell is Bash or a Bourne variant, enable conda for the current user with
+
+ $ echo "[ -f /opt/miniconda3/etc/profile.d/conda.sh ] && source /opt/miniconda3/etc/profile.d/conda.sh" >> ~/.bashrc
+
+or, for all users, enable conda with
+
+ $ sudo ln -s /opt/miniconda3/etc/profile.d/conda.sh /etc/profile.d/conda.sh
+'
}