mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 16:02:33 +03:00
Warn about zip files like with jar files
This commit is contained in:
parent
d185e04d9e
commit
b9728b2980
1 changed files with 2 additions and 0 deletions
|
@ -1210,6 +1210,8 @@ def scan_source(build_dir, root_dir, thisbuild):
|
|||
removeproblem('APK file', fd, fp)
|
||||
elif mime == 'application/jar':
|
||||
warnproblem('JAR file', fd, fp)
|
||||
elif mime == 'application/zip':
|
||||
warnproblem('ZIP file', fd, fp)
|
||||
|
||||
elif has_extension(fp, 'java'):
|
||||
for line in file(fp):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue