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
4fb398cec3
commit
92dd5a5aa8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user