diff options
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | miniconda3.install | 13 |
3 files changed, 15 insertions, 10 deletions
@@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Sat Jun 2 03:50:33 UTC 2018 +# Wed Aug 8 12:06:28 UTC 2018 pkgbase = miniconda3 pkgdesc = Mini version of Anaconda Python distribution. - pkgver = 4.5.1 + pkgver = 4.5.4 pkgrel = 1 url = https://conda.io/miniconda install = miniconda3.install @@ -11,9 +11,9 @@ pkgbase = miniconda3 options = !strip options = libtool options = staticlibs - source = http://repo.continuum.io/miniconda/Miniconda3-4.5.1-Linux-x86_64.sh + source = http://repo.continuum.io/miniconda/Miniconda3-4.5.4-Linux-x86_64.sh source = miniconda3.install - sha256sums = 4b857c96d7aad4b09063224e88f4f62e778a5f1f2a1b211340ba765ce6aa21e5 + sha256sums = 80ecc86f8c2f131c5170e43df489514f80e3971dd105c075935470bbf2476dea sha256sums = 9e0d1b0226a08e8cd220e4dbe42ecfa7636893e023e61123f70fd2bed3c3f066 pkgname = miniconda3 @@ -3,7 +3,7 @@ # Contributor : Martin Wimpress <code@flexion.org> # Contributor : Jingbei Li <i@jingbei.li> pkgname=miniconda3 -pkgver=4.5.1 +pkgver=4.5.4 pkgrel=1 pkgdesc="Mini version of Anaconda Python distribution." arch=('x86_64') @@ -12,7 +12,7 @@ license=("custom") source=("http://repo.continuum.io/miniconda/Miniconda3-${pkgver}-Linux-x86_64.sh" "$pkgname.install") options=(!strip libtool staticlibs) -sha256sums=('4b857c96d7aad4b09063224e88f4f62e778a5f1f2a1b211340ba765ce6aa21e5' +sha256sums=('80ecc86f8c2f131c5170e43df489514f80e3971dd105c075935470bbf2476dea' '9e0d1b0226a08e8cd220e4dbe42ecfa7636893e023e61123f70fd2bed3c3f066') install="$pkgname.install" 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 +' } |