Commit eb6ed37d authored by Josh Spicer's avatar Josh Spicer Committed by GitHub

fix anaconda pathing

parent 04f5d29f
...@@ -4,11 +4,17 @@ ...@@ -4,11 +4,17 @@
"options": { "options": {
"version": { "version": {
"type": "string", "type": "string",
"proposals": ["latest"], "proposals": [
"latest"
],
"default": "latest", "default": "latest",
"description": "Select or enter an anaconda version." "description": "Select or enter an anaconda version."
} }
}, },
"containerEnv": {
"CONDA_DIR": "/usr/local/conda",
"PATH": "${CONDA_DIR}/bin:${PATH}"
},
"install": { "install": {
"app": "", "app": "",
"file": "install.sh" "file": "install.sh"
......
...@@ -10,9 +10,10 @@ ...@@ -10,9 +10,10 @@
# Syntax: ./anaconda-debian.sh [Conda version] [CONDA_DIR] [Non-root user] [Add rc files flag] # Syntax: ./anaconda-debian.sh [Conda version] [CONDA_DIR] [Non-root user] [Add rc files flag]
VERSION=${1:-"latest"} VERSION=${1:-"latest"}
export CONDA_DIR=${2:-"/usr/local/conda"} USERNAME=${2:-"automatic"}
USERNAME=${3:-"automatic"} UPDATE_RC=${3:-"true"}
UPDATE_RC=${4:-"true"}
CONDA_DIR=${CONDA_DIR:-"/usr/local/conda"}
set -eux set -eux
export DEBIAN_FRONTEND=noninteractive export DEBIAN_FRONTEND=noninteractive
......
Markdown is supported
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