aboutsummaryrefslogtreecommitdiff
path: root/src/anaconda/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/anaconda/install.sh')
-rw-r--r--src/anaconda/install.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/anaconda/install.sh b/src/anaconda/install.sh
index c77d98d..9c5706f 100644
--- a/src/anaconda/install.sh
+++ b/src/anaconda/install.sh
@@ -10,9 +10,10 @@
# Syntax: ./anaconda-debian.sh [Conda version] [CONDA_DIR] [Non-root user] [Add rc files flag]
VERSION=${1:-"latest"}
-export CONDA_DIR=${2:-"/usr/local/conda"}
-USERNAME=${3:-"automatic"}
-UPDATE_RC=${4:-"true"}
+USERNAME=${2:-"automatic"}
+UPDATE_RC=${3:-"true"}
+
+CONDA_DIR=${CONDA_DIR:-"/usr/local/conda"}
set -eux
export DEBIAN_FRONTEND=noninteractive