From 0f04bc5789c712bf7c7319b1d93064914993f4ec Mon Sep 17 00:00:00 2001 From: mauwii Date: Tue, 8 Nov 2022 22:21:25 +0100 Subject: [PATCH] use conda env update --- 1-click-installer/install.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/1-click-installer/install.sh b/1-click-installer/install.sh index fd2624dc99..09f28c69ec 100755 --- a/1-click-installer/install.sh +++ b/1-click-installer/install.sh @@ -97,10 +97,9 @@ 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 create -f environment-mac.yml + PIP_EXISTS_ACTION=w CONDA_SUBDIR=osx-${OS_ARCH} conda env update -f environment-mac.yml else - conda env remove -n invokeai - conda env create -f environment.yml + conda env update -f environment.yml fi status=$?