diff --git a/scripts/install_conda.sh b/scripts/install_conda.sh new file mode 100644 index 0000000..de80d69 --- /dev/null +++ b/scripts/install_conda.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +condaUrl="https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-s390x.sh" + +if [ "$(arch)" == "x86_64" ]; then + condaUrl="https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh" +elif [ "$(arch)" == "i386" ] && [ "$(uname)" == "Darwin" ]; then + condaUrl="https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh" +fi + +echo "download url: $condaUrl" + +cd ~ +curl -L "$condaUrl" -o "miniconda.sh" + +if [ -f "~/miniconda.sh" ];then + sh ~/miniconda.sh +fi diff --git a/scripts/install_conda_sp390x.sh b/scripts/install_conda_sp390x.sh deleted file mode 100644 index e69de29..0000000