From 2d944f5e61cc72fb01c3f972a33dc946e6261709 Mon Sep 17 00:00:00 2001 From: Ryan Clary <9618975+mrclary@users.noreply.github.com> Date: Thu, 7 Nov 2024 08:12:11 -0800 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Carlos Cordoba --- installers-conda/resources/post-install.bat | 2 +- installers-conda/resources/post-install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/installers-conda/resources/post-install.bat b/installers-conda/resources/post-install.bat index 142b1e21471..e3703b76d38 100644 --- a/installers-conda/resources/post-install.bat +++ b/installers-conda/resources/post-install.bat @@ -13,7 +13,7 @@ if "%INSTALLER_UNATTENDED%"=="1" set no_launch_spyder=true @echo INSTALLER_UNATTENDED = %INSTALLER_UNATTENDED% @echo no_launch_spyder = %no_launch_spyder% if defined no_launch_spyder ( - @echo Installing in CI or silent mode, do not launch Spyder + @echo Installing in silent mode, do not launch Spyder exit /b %errorlevel% ) else ( @echo Launching Spyder after install completed. diff --git a/installers-conda/resources/post-install.sh b/installers-conda/resources/post-install.sh index 1b6d15014c2..357a5faaa9e 100755 --- a/installers-conda/resources/post-install.sh +++ b/installers-conda/resources/post-install.sh @@ -187,7 +187,7 @@ echo "*** Post install script for ${INSTALLER_NAME} complete" # ---- Launch Spyder if [[ -n "$CI" || "$INSTALLER_UNATTENDED" == "1" || "$COMMAND_LINE_INSTALL" == "1" ]]; then - echo Installing in CI or batch mode, do not launch Spyder + echo Installing in batch mode, do not launch Spyder exit 0 fi