mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-03-19 15:40:00 -04:00
checkupdates: don't blindly accept subdir
This is unnecessary because dirs_with_manifest will pick it up anyway. But the problem manifested because we weren't checking the package id here.
This commit is contained in:
@@ -324,10 +324,6 @@ def possible_subdirs(app):
|
||||
build = app['builds'][-1]
|
||||
if build['gradle']:
|
||||
flavours = build['gradle']
|
||||
subdir = build['subdir']
|
||||
if subdir and os.path.isdir(os.path.join(build_dir, subdir)):
|
||||
logging.debug("Adding possible subdir %s" % subdir)
|
||||
yield subdir
|
||||
|
||||
for d in dirs_with_manifest(build_dir):
|
||||
m_paths = common.manifest_paths(d, flavours)
|
||||
|
||||
Reference in New Issue
Block a user