1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-11 15:13:27 +02:00

scanner: also ignore ttf and otf files

This commit is contained in:
Daniel Martí 2015-09-16 17:14:06 -07:00
parent da2a4f2cf5
commit feaf3d04e5

View File

@ -162,7 +162,9 @@ def scan_source(build_dir, root_dir, thisbuild):
# These files are often found - avoid checking if they are binary
# to speed up the scanner
elif ext in ['xml', 'md', 'txt', 'html', 'sh', 'png']:
elif ext in [
'xml', 'md', 'txt', 'html', 'sh', 'png', 'jpg',
'ttf', 'otf']:
pass
elif is_binary(fp):