Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
mrclary authored Jul 5, 2023
1 parent 541fcc0 commit aa3938d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion installers-conda/resources/post-install.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash -i
set -e
unset HISTFILE

echo "*** Running post install script for ${INSTALLER_NAME} ..."

Expand Down Expand Up @@ -149,6 +150,7 @@ echo "*** Post install script for ${INSTALLER_NAME} complete"
# ----
[[ -n "$CI" ]] && exit 0 # Running in CI, don't launch Spyder

echo "Launching Spyder now..."
if [[ "$OSTYPE" = "darwin"* ]]; then
tmp_dir=${SHARED_INSTALLER_TEMP}/spyder
launch_script=${tmp_dir}/post-install-launch.sh
Expand All @@ -167,5 +169,5 @@ EOF
elif [[ -n "$(which gtk-launch)" ]]; then
gtk-launch $(basename $shortcut_path)
else
$spy_exe
nohup $spy_exe $>/dev/null &
fi

0 comments on commit aa3938d

Please sign in to comment.