mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 16:02:33 +03:00
Add 'fdroid install', more rewriting
This commit is contained in:
parent
a4780c2107
commit
93d8d23cee
4 changed files with 122 additions and 20 deletions
|
@ -132,7 +132,12 @@ def read_app_args(args, options, allapps):
|
|||
print "No such package: %s" % p
|
||||
raise Exception("Found invalid app ids in arguments")
|
||||
|
||||
apps = [app for app in apps if (options.force or not app['Disabled']) and
|
||||
if hasattr(options, "force"):
|
||||
force = options.force
|
||||
else:
|
||||
force = False
|
||||
|
||||
apps = [app for app in apps if (force or not app['Disabled']) and
|
||||
app['builds'] and len(app['Repo Type']) > 0 and len(app['builds']) > 0]
|
||||
if len(apps) == 0:
|
||||
raise Exception("No apps to process.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue