From 7638340cc0968c375be024e62a8576e8dc21f07d Mon Sep 17 00:00:00 2001 From: Eric Claeys <83164203+EricClaeys@users.noreply.github.com> Date: Tue, 13 Aug 2024 12:39:35 -0600 Subject: [PATCH] Update install.sh: fix installation after error When installation errors out after the user was prompted if they want to use allsky-OLD and they say "no", make sure a continuation installation respects their choice. --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 177f08812..8714fdd61 100755 --- a/install.sh +++ b/install.sh @@ -1532,6 +1532,7 @@ prompt_for_prior_Allsky() # so force creating a default settings file. FORCE_CREATING_DEFAULT_SETTINGS_FILE="true" STATUS_VARIABLES+=("FORCE_CREATING_DEFAULT_SETTINGS_FILE='true'\n") + STATUS_VARIABLES+=("PRIOR_ALLSKY_DIR=''\n") fi STATUS_VARIABLES+=("WILL_USE_PRIOR='${WILL_USE_PRIOR}'\n") @@ -2574,7 +2575,6 @@ restore_prior_files() prepare_local_website "" fi - # Do NOT restore options.json - it will be recreated. # Done with restores, now the updates.