1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-09 00:40:11 +01:00

Merge branch 'licaon-kter-master-patch-94098' into 'master'

scanner - tgz is gzip

See merge request fdroid/fdroidserver!1368
This commit is contained in:
Hans-Christoph Steiner 2023-06-01 11:40:20 +00:00
commit 3f7e01b909

View File

@ -680,7 +680,7 @@ def scan_source(build_dir, build=metadata.Build(), json_per_build=None):
count += handleproblem( count += handleproblem(
_('Android DEX code'), path_in_build_dir, filepath, json_per_build _('Android DEX code'), path_in_build_dir, filepath, json_per_build
) )
elif curfile.endswith('.gz'): elif curfile.endswith('.gz') or curfile.endswith('.tgz'):
count += handleproblem( count += handleproblem(
_('gzip file archive'), path_in_build_dir, filepath, json_per_build _('gzip file archive'), path_in_build_dir, filepath, json_per_build
) )