Commit 52cadd15 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

RF: Tweak logic, mostly for unit tests

parent cd5e1316
...@@ -1203,6 +1203,7 @@ def install_miniconda(ctx): ...@@ -1203,6 +1203,7 @@ def install_miniconda(ctx):
channel_priority: strict #!final channel_priority: strict #!final
""") """)
channels = list(ctx.environment_channels) channels = list(ctx.environment_channels)
if len(channels) > 0:
channels[0] += ' #!top' channels[0] += ' #!top'
channels[-1] += ' #!bottom' channels[-1] += ' #!bottom'
condarc += '\nchannels: #!final\n' condarc += '\nchannels: #!final\n'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment