mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-11 23:23:27 +02:00
Catch all jar files
This commit is contained in:
parent
15f2eada8e
commit
e1581d0d38
@ -1206,7 +1206,7 @@ def scan_source(build_dir, root_dir, thisbuild):
|
||||
handleproblem('binary executable', fd, fp)
|
||||
elif mime == 'application/jar' and has_extension(fp, 'apk'):
|
||||
removeproblem('APK file', fd, fp)
|
||||
elif mime == 'application/jar' and has_extension(fp, 'jar'):
|
||||
elif mime == 'application/jar':
|
||||
warnproblem('JAR file', fd, fp)
|
||||
|
||||
elif has_extension(fp, 'java'):
|
||||
|
Loading…
Reference in New Issue
Block a user