mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
fix update-check.sh
This commit is contained in:
parent
8b33ed37e3
commit
a2bbcf0e31
@ -2761,8 +2761,7 @@ function updateRR() {
|
|||||||
fi
|
fi
|
||||||
# Check conditions
|
# Check conditions
|
||||||
if [ -f "${TMP_PATH}/update/update-check.sh" ]; then
|
if [ -f "${TMP_PATH}/update/update-check.sh" ]; then
|
||||||
chmod +x "${TMP_PATH}/update/update-check.sh"
|
cat "${TMP_PATH}/update/update-check.sh" | bash
|
||||||
${TMP_PATH}/update/update-check.sh
|
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
MSG="$(TEXT "The current version does not support upgrading to the latest update.zip. Please remake the bootloader disk!")"
|
MSG="$(TEXT "The current version does not support upgrading to the latest update.zip. Please remake the bootloader disk!")"
|
||||||
if [ "${2}" = "-1" ]; then
|
if [ "${2}" = "-1" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user