fix update-check.sh

This commit is contained in:
Ing 2024-05-11 12:06:46 +08:00
parent 4fb398cec3
commit 92dd5a5aa8

View File

@ -2761,8 +2761,7 @@ function updateRR() {
fi
# Check conditions
if [ -f "${TMP_PATH}/update/update-check.sh" ]; then
chmod +x "${TMP_PATH}/update/update-check.sh"
${TMP_PATH}/update/update-check.sh
cat "${TMP_PATH}/update/update-check.sh" | bash
if [ $? -ne 0 ]; then
MSG="$(TEXT "The current version does not support upgrading to the latest update.zip. Please remake the bootloader disk!")"
if [ "${2}" = "-1" ]; then