1
0
mirror of https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks.git synced 2025-09-03 05:02:40 +02:00

Merge pull request #1594 from radinsky/patch-1

Update autoupdate.sh
This commit is contained in:
jmtatsch
2020-10-02 15:19:41 +02:00
committed by GitHub

View File

@@ -247,8 +247,8 @@ action "rm -rf ${DESTOVERRIDE} 2>/dev/null"
if [ -f "$VERSION_FILE" ]; then
LOCALCOMMITID=$(${JQ} -r .commit ${VERSION_FILE})
if [ ${LOCALCOMMITID} = ${REMOTECOMMITID} ]; then
logerror "You are currently on the lastest version"
echo "You are currently on the lastest version"
logerror "You are currently on the latest version"
echo "You are currently on the latest version"
exit 1
else
echo "Need to upgrade from ${LOCALCOMMITID} to ${REMOTECOMMITID}"