mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03:00
checkupdates: never auto-update to older versions
This commit is contained in:
parent
6ea51abfaa
commit
995afdcbfd
1 changed files with 1 additions and 1 deletions
|
|
@ -462,7 +462,7 @@ def checkupdates_app(app, first=True):
|
||||||
gotcur = False
|
gotcur = False
|
||||||
latest = None
|
latest = None
|
||||||
for build in app['builds']:
|
for build in app['builds']:
|
||||||
if build['vercode'] == app['Current Version Code']:
|
if build['vercode'] >= app['Current Version Code']:
|
||||||
gotcur = True
|
gotcur = True
|
||||||
if not latest or int(build['vercode']) > int(latest['vercode']):
|
if not latest or int(build['vercode']) > int(latest['vercode']):
|
||||||
latest = build
|
latest = build
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue