mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-06 17:31:07 +03:00
NoSourceSince Anti-Feature should only be added to index
Before, it was being added to the metadata, so that rewritemeta would output it. fdroid/fdroidserver!529 #508
This commit is contained in:
parent
6ca09e1bb2
commit
b03c4a7353
5 changed files with 20 additions and 4 deletions
|
@ -1652,6 +1652,9 @@ def apply_info_from_latest_apk(apps, apks):
|
|||
bestver = apk['versionCode']
|
||||
bestapk = apk
|
||||
|
||||
if app.NoSourceSince:
|
||||
apk['antiFeatures'].add('NoSourceSince')
|
||||
|
||||
if 'added' in apk:
|
||||
if not app.added or apk['added'] < app.added:
|
||||
app.added = apk['added']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue