chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ea51ab
)
checkupdates: never auto-update to older versions
author
Daniel Martí
<mvdan@mvdan.cc>
Sun, 25 Oct 2015 18:14:23 +0000
(19:14 +0100)
committer
Daniel Martí
<mvdan@mvdan.cc>
Sun, 25 Oct 2015 18:14:23 +0000
(19:14 +0100)
fdroidserver/checkupdates.py
patch
|
blob
|
history
diff --git
a/fdroidserver/checkupdates.py
b/fdroidserver/checkupdates.py
index 9baccbc031c66362e2c187fcf8cac116b454a31e..3a9abad05255940559b452ddf883248591d2c7a4 100644
(file)
--- a/
fdroidserver/checkupdates.py
+++ b/
fdroidserver/checkupdates.py
@@
-462,7
+462,7
@@
def checkupdates_app(app, first=True):
gotcur = False
latest = None
for build in app['builds']:
- if build['vercode']
=
= app['Current Version Code']:
+ if build['vercode']
>
= app['Current Version Code']:
gotcur = True
if not latest or int(build['vercode']) > int(latest['vercode']):
latest = build