Skip to content

Commit 7ff0ebc

Browse files
authored
Update install.sh: Don't display some messages when doing upgrade
1 parent 2f405af commit 7ff0ebc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3613,8 +3613,8 @@ do_done()
36133613
do_allsky_status "${ALLSKY_STATUS_NOT_RUNNING}"
36143614
display_image --custom "lime" "Allsky is\nready to start"
36153615
MSG="\nInstallation is done."
3616-
MSG2=" To start Allsky, go to the WebUI's 'System' page."
3617-
display_msg --log progress "${MSG}" "${MSG2}"
3616+
MSG2=" To start Allsky, go to the WebUI's 'System -> System' page."
3617+
[[ ${DO_UPGRADE} == "false" ]] && display_msg --log progress "${MSG}" "${MSG2}"
36183618
MSG2+=" You can then clear this message."
36193619
"${ALLSKY_SCRIPTS}/addMessage.sh" --type info --msg "${MSG2}"
36203620

@@ -3641,7 +3641,7 @@ do_done()
36413641
exit_installation 0 "${CONFIGURATION_NEEDED}" ""
36423642
fi
36433643

3644-
display_msg progress "\nEnjoy Allsky!\n"
3644+
[[ ${DO_UPGRADE} == "false" ]] && display_msg progress "\nEnjoy Allsky!\n"
36453645
}
36463646

36473647
do_legacy_password_conversion()

0 commit comments

Comments
 (0)