From 9e29a5fc1aa47832a1fe1b49b49a44855c72b55b Mon Sep 17 00:00:00 2001 From: Jim Grady Date: Fri, 5 Apr 2024 09:47:01 -0400 Subject: [PATCH] Update install/uninstall scripts - add 'set -euo pipefail' to stop script at first failure - remove message about initial user - functionalitiy removed - create Python virtual environment at the beginning of the state machine regardless of initial state --- deploy/scripts/install-combine.sh | 10 ++-------- deploy/scripts/uninstall-combine | 1 + 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/deploy/scripts/install-combine.sh b/deploy/scripts/install-combine.sh index 5c9d3e7fa7..0cf97e501a 100755 --- a/deploy/scripts/install-combine.sh +++ b/deploy/scripts/install-combine.sh @@ -1,4 +1,5 @@ #! /usr/bin/env bash +set -euo pipefail # Set the environment variables that are required by The Combine. # In addition, the values are stored in a file so that they do not @@ -8,13 +9,6 @@ set-combine-env () { # Generate JWT Secret Key COMBINE_JWT_SECRET_KEY=`LC_ALL=C tr -dc 'A-Za-z0-9*\-_@!'