conda 4.4: config and downgrade in subshell
@@ -19,6 +19,7 @@ echo ""
echo "Installing a fresh version of Miniconda."
curl -L https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh > ~/miniconda.sh
bash ~/miniconda.sh -b -p ~/miniconda
+(
source ~/miniconda/bin/activate root
# Configure conda.
@@ -31,6 +32,9 @@ conda config --add channels conda-forge
unset conda
conda update -n root --yes --quiet conda conda-env
+)
+source ~/miniconda/bin/activate root
+
conda install --yes --quiet git=2.12.2
conda install -n root --yes --quiet jinja2 anaconda-client
conda install --yes --quiet conda-build=2 conda-smithy
