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
export_env DOCSERVER
fi
CONDA_CHANNEL="${DOCSERVER}/public/conda/label/main"
CONDA_BETA_CHANNEL="${DOCSERVER}/private/conda"
if [ -z "${CONDA_CHANNEL}" ]; then
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
CONDARC=${CONDA_ROOT}/condarc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment