Add message explaining how to force an update (#317)

* Add message explaining how to force an update

* Tweak wording
This commit is contained in:
Andrew Scheller
2021-06-18 11:00:07 +01:00
committed by GitHub
parent 1656f78943
commit 3a30e618ad

View File

@@ -592,7 +592,7 @@ if [[ ! -f "${FW_REVFILE}" ]]; then
else else
LOCAL_HASH=$(get_long_hash "$(cat "${FW_REVFILE}")") LOCAL_HASH=$(get_long_hash "$(cat "${FW_REVFILE}")")
if [[ "${LOCAL_HASH}" == "${FW_REV}" ]]; then if [[ "${LOCAL_HASH}" == "${FW_REV}" ]]; then
echo " *** Your firmware is already up to date" echo " *** Your firmware is already up to date (delete ${FW_REVFILE} to force an update anyway)"
exit 0 exit 0
fi fi
if [[ ${JUST_CHECK} -ne 0 ]]; then if [[ ${JUST_CHECK} -ne 0 ]]; then