mirror of
https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks.git
synced 2025-09-06 14:10:45 +02:00
@@ -247,8 +247,8 @@ action "rm -rf ${DESTOVERRIDE} 2>/dev/null"
|
|||||||
if [ -f "$VERSION_FILE" ]; then
|
if [ -f "$VERSION_FILE" ]; then
|
||||||
LOCALCOMMITID=$(${JQ} -r .commit ${VERSION_FILE})
|
LOCALCOMMITID=$(${JQ} -r .commit ${VERSION_FILE})
|
||||||
if [ ${LOCALCOMMITID} = ${REMOTECOMMITID} ]; then
|
if [ ${LOCALCOMMITID} = ${REMOTECOMMITID} ]; then
|
||||||
logerror "You are currently on the lastest version"
|
logerror "You are currently on the latest version"
|
||||||
echo "You are currently on the lastest version"
|
echo "You are currently on the latest version"
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
echo "Need to upgrade from ${LOCALCOMMITID} to ${REMOTECOMMITID}"
|
echo "Need to upgrade from ${LOCALCOMMITID} to ${REMOTECOMMITID}"
|
||||||
|
Reference in New Issue
Block a user