Skip to content

Commit

Permalink
Update install.sh: fix installation after error
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
EricClaeys authored Aug 13, 2024
1 parent 22a5852 commit 7638340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 7638340

Please sign in to comment.