Skip to content

Commit db09ad6

Browse files
authored
Merge pull request timvideos#177 from mithro/conda-pin
scripts: Always update conda to pinned version.
2 parents a5e872a + 7cbe196 commit db09ad6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/download-env.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -219,13 +219,13 @@ export PATH=$CONDA_DIR/bin:$PATH:/sbin
219219
./Miniconda3-latest-Linux-x86_64.sh -p $CONDA_DIR -b -f || exit 1
220220
)
221221
fix_conda
222-
conda config --system --set always_yes yes
223-
conda config --system --set changeps1 no
224222
conda config --system --add envs_dirs $CONDA_DIR/envs
225223
conda config --system --add pkgs_dirs $CONDA_DIR/pkgs
226-
pin_conda_package conda ${CONDA_VERSION}
227-
conda update -q conda
228224
fi
225+
conda config --system --set always_yes yes
226+
conda config --system --set changeps1 no
227+
pin_conda_package conda ${CONDA_VERSION}
228+
conda update -q conda
229229
fix_conda
230230
conda config --system --add channels timvideos
231231
conda info

0 commit comments

Comments
 (0)