From e97515d0453583e013674b4dd1f3739c7de402cc Mon Sep 17 00:00:00 2001 From: mauwii Date: Tue, 8 Nov 2022 22:24:21 +0100 Subject: [PATCH] set environment file for conda update --- 1-click-installer/install.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/1-click-installer/install.sh b/1-click-installer/install.sh index 09f28c69ec..9df8f34ef1 100755 --- a/1-click-installer/install.sh +++ b/1-click-installer/install.sh @@ -97,11 +97,13 @@ source "$CONDA_BASEPATH/etc/profile.d/conda.sh" # otherwise conda complains abou conda activate if [ "$OS_NAME" == "mac" ]; then - PIP_EXISTS_ACTION=w CONDA_SUBDIR=osx-${OS_ARCH} conda env update -f environment-mac.yml + environment_file=environment-mac.yml else - conda env update -f environment.yml + environment_file=environment.yml fi +conda env update -f $environment_file + status=$? if test $status -ne 0