diff --git a/start_linux.sh b/start_linux.sh index 948e40b8..85638a5e 100755 --- a/start_linux.sh +++ b/start_linux.sh @@ -31,7 +31,7 @@ if [ "$conda_exists" == "F" ]; then echo "Downloading Miniconda from $MINICONDA_DOWNLOAD_URL to $INSTALL_DIR/miniconda_installer.sh" mkdir -p "$INSTALL_DIR" - curl -Lk "$MINICONDA_DOWNLOAD_URL" > "$INSTALL_DIR/miniconda_installer.sh" + curl -L "$MINICONDA_DOWNLOAD_URL" > "$INSTALL_DIR/miniconda_installer.sh" chmod u+x "$INSTALL_DIR/miniconda_installer.sh" bash "$INSTALL_DIR/miniconda_installer.sh" -b -p $CONDA_ROOT_PREFIX diff --git a/start_macos.sh b/start_macos.sh index 5877e167..b30bc4c6 100755 --- a/start_macos.sh +++ b/start_macos.sh @@ -31,7 +31,7 @@ if [ "$conda_exists" == "F" ]; then echo "Downloading Miniconda from $MINICONDA_DOWNLOAD_URL to $INSTALL_DIR/miniconda_installer.sh" mkdir -p "$INSTALL_DIR" - curl -Lk "$MINICONDA_DOWNLOAD_URL" > "$INSTALL_DIR/miniconda_installer.sh" + curl -L "$MINICONDA_DOWNLOAD_URL" > "$INSTALL_DIR/miniconda_installer.sh" chmod u+x "$INSTALL_DIR/miniconda_installer.sh" bash "$INSTALL_DIR/miniconda_installer.sh" -b -p $CONDA_ROOT_PREFIX diff --git a/start_windows.bat b/start_windows.bat index cdc303e4..7c437b60 100755 --- a/start_windows.bat +++ b/start_windows.bat @@ -37,7 +37,7 @@ if "%conda_exists%" == "F" ( echo Downloading Miniconda from %MINICONDA_DOWNLOAD_URL% to %INSTALL_DIR%\miniconda_installer.exe mkdir "%INSTALL_DIR%" - call curl -Lk "%MINICONDA_DOWNLOAD_URL%" > "%INSTALL_DIR%\miniconda_installer.exe" || ( echo. && echo Miniconda failed to download. && goto end ) + call curl -L "%MINICONDA_DOWNLOAD_URL%" > "%INSTALL_DIR%\miniconda_installer.exe" || ( echo. && echo Miniconda failed to download. && goto end ) echo Installing Miniconda to %CONDA_ROOT_PREFIX% start /wait "" "%INSTALL_DIR%\miniconda_installer.exe" /InstallationType=JustMe /NoShortcuts=1 /AddToPath=0 /RegisterPython=0 /NoRegistry=1 /S /D=%CONDA_ROOT_PREFIX% diff --git a/wsl.sh b/wsl.sh index 5c7d6212..153ae85d 100755 --- a/wsl.sh +++ b/wsl.sh @@ -58,7 +58,7 @@ if "$CONDA_ROOT_PREFIX/bin/conda" --version &>/dev/null; then conda_exists="T"; if [ "$conda_exists" == "F" ]; then echo "Downloading Miniconda from $MINICONDA_DOWNLOAD_URL to $INSTALL_DIR/miniconda_installer.sh" - curl -Lk "$MINICONDA_DOWNLOAD_URL" > "$INSTALL_DIR/miniconda_installer.sh" + curl -L "$MINICONDA_DOWNLOAD_URL" > "$INSTALL_DIR/miniconda_installer.sh" chmod u+x "$INSTALL_DIR/miniconda_installer.sh" bash "$INSTALL_DIR/miniconda_installer.sh" -b -p $CONDA_ROOT_PREFIX