mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 23:40:29 +03:00
Don't auto update apps with the latest build disabled
This commit is contained in:
parent
0c2104039b
commit
32ae8bc565
1 changed files with 4 additions and 1 deletions
|
|
@ -446,7 +446,10 @@ def main():
|
||||||
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
|
||||||
if not gotcur:
|
|
||||||
|
if 'disable' in latest:
|
||||||
|
logging.warn('Skipping %s since the latest build is disabled' % app['id'])
|
||||||
|
elif not gotcur:
|
||||||
newbuild = latest.copy()
|
newbuild = latest.copy()
|
||||||
if 'origlines' in newbuild:
|
if 'origlines' in newbuild:
|
||||||
del newbuild['origlines']
|
del newbuild['origlines']
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue