From 2a60f6c195dfd24149617ceb1df1731fb3bf50c8 Mon Sep 17 00:00:00 2001 From: Licaon_Kter Date: Thu, 1 Jun 2023 07:43:42 +0000 Subject: [PATCH] scanner - tgz is gzip --- fdroidserver/scanner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdroidserver/scanner.py b/fdroidserver/scanner.py index 2a943557..c2807e27 100644 --- a/fdroidserver/scanner.py +++ b/fdroidserver/scanner.py @@ -680,7 +680,7 @@ def scan_source(build_dir, build=metadata.Build(), json_per_build=None): count += handleproblem( _('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( _('gzip file archive'), path_in_build_dir, filepath, json_per_build )