Skip to content
Snippets Groups Projects
Commit 5ce307db authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Set conda channels conditionally

parent 214486a5
No related branches found
No related tags found
No related merge requests found
...@@ -361,8 +361,13 @@ if [ -z "${DOCSERVER}" ]; then ...@@ -361,8 +361,13 @@ if [ -z "${DOCSERVER}" ]; then
export_env DOCSERVER export_env DOCSERVER
fi fi
CONDA_CHANNEL="${DOCSERVER}/public/conda/label/main" if [ -z "${CONDA_CHANNEL}" ]; then
CONDA_BETA_CHANNEL="${DOCSERVER}/private/conda" CONDA_CHANNEL="${DOCSERVER}/public/conda/label/main"
fi
if [ -z "${CONDA_BETA_CHANNEL}" ]; then
CONDA_BETA_CHANNEL="${DOCSERVER}/private/conda"
fi
# Sets up the location of our rc file for conda # Sets up the location of our rc file for conda
CONDARC=${CONDA_ROOT}/condarc CONDARC=${CONDA_ROOT}/condarc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment