mirror of
https://github.com/raspberrypi/rpi-update.git
synced 2026-01-20 21:13:38 +08:00
Add message explaining how to force an update (#317)
* Add message explaining how to force an update * Tweak wording
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user