Skip to content

Commit

Permalink
Update install.sh: indent output, only display 1 status
Browse files Browse the repository at this point in the history
  • Loading branch information
EricClaeys authored Oct 28, 2023
1 parent 3e06f11 commit 4d1a2e2
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ check_success()
MSG="The full log file is in ${LOG}"
MSG="${MSG}\nThe end of the file is:"
display_msg --log info "${MSG}"
tail "${LOG}"
indent "$( tail "${LOG}" )"

return 1
fi
Expand Down Expand Up @@ -2915,7 +2915,13 @@ exit_installation()
if [[ ${STATUS_CODE} == "${STATUS_CLEAR}" ]]; then
clear_status
else
[[ -n ${MORE_STATUS} ]] && MORE_STATUS="; MORE_STATUS='${MORE_STATUS}'"
if [[ -n ${MORE_STATUS} ]]; then
if [[ ${MORE_STATUS} == "${STATUS_CODE}" ]]; then
MORE_STATUS=""
else
MORE_STATUS="; MORE_STATUS='${MORE_STATUS}'"
fi
fi
echo -e "STATUS_INSTALLATION='${STATUS_CODE}'${MORE_STATUS}" > "${STATUS_FILE}"
update_status_from_temp_file
echo -e "${STATUS_VARIABLES[@]}" >> "${STATUS_FILE}"
Expand Down

0 comments on commit 4d1a2e2

Please sign in to comment.