mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-09 02:41:06 +03:00
scan_apks() sets cachechanged, so no tricks needed
This commit is contained in:
parent
e88816bbe3
commit
e614863c69
1 changed files with 1 additions and 4 deletions
|
@ -1119,14 +1119,11 @@ def main():
|
||||||
apkcache = pickle.load(cf)
|
apkcache = pickle.load(cf)
|
||||||
else:
|
else:
|
||||||
apkcache = {}
|
apkcache = {}
|
||||||
cachechanged = False
|
|
||||||
|
|
||||||
delete_disabled_builds(apps, apkcache, repodirs)
|
delete_disabled_builds(apps, apkcache, repodirs)
|
||||||
|
|
||||||
# Scan all apks in the main repo
|
# Scan all apks in the main repo
|
||||||
apks, cc = scan_apks(apps, apkcache, repodirs[0], knownapks)
|
apks, cachechanged = scan_apks(apps, apkcache, repodirs[0], knownapks)
|
||||||
if cc:
|
|
||||||
cachechanged = True
|
|
||||||
|
|
||||||
# Generate warnings for apk's with no metadata (or create skeleton
|
# Generate warnings for apk's with no metadata (or create skeleton
|
||||||
# metadata files, if requested on the command line)
|
# metadata files, if requested on the command line)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue