We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f604e0e commit 0512970Copy full SHA for 0512970
entrypoint.sh
@@ -12,13 +12,13 @@ curl -fsSL "$MINI_CONDA" -o /tmp/conda.sh
12
chmod +x /tmp/conda.sh && sh /tmp/conda.sh -b -p "$DEV_PATH/conda"
13
14
cat <<EOF | tee -a "$HOME"/.bashrc
15
-# >>> conda initialize >>>
16
- if test -f "$DEV_PATH/conda/etc/fish/conf.d/conda.fish"
17
- . "$DEV_PATH/conda/etc/fish/conf.d/conda.fish"
18
- else
19
- set -x PATH "$DEV_PATH/conda/bin" $PATH
20
- end
21
-# <<< conda initialize <<<
+
+if [ -f "$DEV_PATH/conda/etc/profile.d/conda.sh" ]; then
+ . "$DEV_PATH/conda/etc/profile.d/conda.sh"
+else
+ export PATH="$DEV_PATH/conda/bin:$PATH"
+fi
22
EOF
23
24
0 commit comments