Skip to content

Commit

Permalink
Update install.sh: better log message when no prior version
Browse files Browse the repository at this point in the history
  • Loading branch information
EricClaeys authored Aug 16, 2023
1 parent 9977e1d commit 4f1fbeb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1445,7 +1445,8 @@ prompt_for_prior_Allsky()
if ! whiptail --title "${TITLE}" --yesno "${MSG}" 15 "${WT_WIDTH}" 3>&1 1>&2 2>&3; then
MSG="Rename the directory with your prior version of Allsky to"
MSG="${MSG}\n '${PRIOR_ALLSKY_DIR}', then run the installation again."
display_msg --log info "${MSG}"
display_msg info "${MSG}"
display_msg --logonly info "User elected not to continue. Exiting installation."
exit_installation 0 "${STATUS_NOT_CONTINUE}" "after no prior Allsky was found."
fi
STATUS_VARIABLES+=("prompt_for_prior_Allsky='true'\n")
Expand Down

0 comments on commit 4f1fbeb

Please sign in to comment.