Skip to content

Commit

Permalink
Merge pull request #134 from lsst/tickets/DM-28529
Browse files Browse the repository at this point in the history
DM-28529: Avoid adding defaults channel.
  • Loading branch information
ktlim committed Jan 27, 2021
2 parents c708cbd + f768275 commit f3904ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/newinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,9 @@ n8l::miniconda::config_channels() {
$cmd conda config --env --remove-key channels 2>/dev/null || true

for c in $channels; do
$cmd conda config --env --add channels "$c"
if [[ "$c" != defaults ]]; then
$cmd conda config --env --add channels "$c"
fi
done

$cmd conda config --env --set channel_priority strict
Expand Down

0 comments on commit f3904ca

Please sign in to comment.