mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 15:32:30 +03:00
Scan for random apk files floating around in 'source code'
This commit is contained in:
parent
4d4f3f3838
commit
58a9fc3c1a
1 changed files with 4 additions and 0 deletions
|
@ -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):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue