1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-06-03 06:10:10 +02:00

scanner: refresh data without scaning

This commit is contained in:
linsui 2024-01-29 23:13:13 +08:00
parent 1c203ae643
commit 2f313a0bd6

View File

@ -825,6 +825,8 @@ def main():
if not appids: if not appids:
if options.exit_code and probcount > 0: if options.exit_code and probcount > 0:
sys.exit(ExitCode.NONFREE_CODE) sys.exit(ExitCode.NONFREE_CODE)
if options.refresh_scanner:
_get_tool()
return return
# Read all app and srclib metadata # Read all app and srclib metadata