1
0
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:
Daniel Martí 2014-02-18 08:25:30 +01:00
parent 15f2eada8e
commit e1581d0d38

View File

@ -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'):