1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-05 18:50:09 +02:00

scan_apks() sets cachechanged, so no tricks needed

This commit is contained in:
Hans-Christoph Steiner 2015-08-11 23:47:13 +02:00
parent e88816bbe3
commit e614863c69

View File

@ -1119,14 +1119,11 @@ def main():
apkcache = pickle.load(cf)
else:
apkcache = {}
cachechanged = False
delete_disabled_builds(apps, apkcache, repodirs)
# Scan all apks in the main repo
apks, cc = scan_apks(apps, apkcache, repodirs[0], knownapks)
if cc:
cachechanged = True
apks, cachechanged = scan_apks(apps, apkcache, repodirs[0], knownapks)
# Generate warnings for apk's with no metadata (or create skeleton
# metadata files, if requested on the command line)