mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-23 16:39:17 +01:00
Fix #225 again
This commit is contained in:
parent
874db8cea4
commit
0f23767cf4
@ -129,7 +129,7 @@ Main() {
|
|||||||
elif [[ $LatestVersion != $CurrentVersion ]]; then
|
elif [[ $LatestVersion != $CurrentVersion ]]; then
|
||||||
if (( $(echo $CurrentVersion | cut -c -10 | sed -e 's/-//g') > $(echo $LatestVersion | cut -c -10 | sed -e 's/-//g') )); then
|
if (( $(echo $CurrentVersion | cut -c -10 | sed -e 's/-//g') > $(echo $LatestVersion | cut -c -10 | sed -e 's/-//g') )); then
|
||||||
Log "WARNING - Current version is newer than remote ($LatestVersion)"
|
Log "WARNING - Current version is newer than remote ($LatestVersion)"
|
||||||
elif [[ $(echo $CurrentVersion | cut -c -12) != $(echo $LatestVersion | cut -c -12) ]]; then
|
elif [[ $(echo $CurrentVersion | cut -c 12-) != $(echo $LatestVersion | cut -c 12-) ]]; then
|
||||||
Echo "* A newer version of iOS-OTA-Downgrader is available."
|
Echo "* A newer version of iOS-OTA-Downgrader is available."
|
||||||
Echo "* Current version: $CurrentVersion"
|
Echo "* Current version: $CurrentVersion"
|
||||||
Echo "* Latest version: $LatestVersion"
|
Echo "* Latest version: $LatestVersion"
|
||||||
|
Loading…
Reference in New Issue
Block a user