mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-03-21 00:11:12 -04:00
Scan for random apk files floating around in 'source code'
This commit is contained in:
@@ -1049,6 +1049,10 @@ def scan_source(build_dir, root_dir, thisbuild):
|
||||
msg = 'Found probable non-free blob ' + fp
|
||||
problems.append(msg)
|
||||
|
||||
if curfile.endswith('.apk'):
|
||||
msg = 'Found apk file, which should not be in the source - ' + fp
|
||||
problems.append(msg)
|
||||
|
||||
if curfile.endswith('.java'):
|
||||
for line in file(fp):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user