Skip to content

Commit

Permalink
Merge pull request #323 from jsmentch/jsmentch-patch-1
Browse files Browse the repository at this point in the history
Added -y to conda clean --all
  • Loading branch information
satra authored Apr 6, 2020
2 parents 1f4b161 + afa88c9 commit db0a0fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions neurodocker/templates/miniconda.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ generic:
conda config --system --prepend channels conda-forge
conda config --system --set auto_update_conda false
conda config --system --set show_channel_urls true
sync && conda clean --all && sync
sync && conda clean -y --all && sync
{% endif -%}
{% if miniconda.yaml_file -%}
conda env create {{ miniconda.conda_opts|default("-q") }} --name {{ miniconda.env_name }} --file {{ miniconda.yaml_file }}
Expand All @@ -40,7 +40,7 @@ generic:
"{{ pkg }}"
{%- endif -%}
{% endfor %}
sync && conda clean --all && sync
sync && conda clean -y --all && sync
{% endif -%}
{% if miniconda.pip_install is not none -%}
bash -c "source activate {{ miniconda.env_name }}
Expand Down

0 comments on commit db0a0fe

Please sign in to comment.