mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
Don't error when finding apk files, just delete them
This commit is contained in:
parent
a0e7409148
commit
efb161e622
1 changed files with 2 additions and 1 deletions
|
|
@ -1654,7 +1654,8 @@ def scan_source(build_dir, root_dir, thisbuild):
|
|||
elif mime == 'application/x-executable':
|
||||
problems.append('Found binary executable at %s' % fd)
|
||||
elif mime == 'application/jar' and fp.endswith('.apk'):
|
||||
problems.append('Found apk archive at %s' % fd)
|
||||
print 'Removing apk file at %s' % fd
|
||||
os.remove(fp)
|
||||
|
||||
elif curfile.endswith('.java'):
|
||||
for line in file(fp):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue