]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Use more portable archivers
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 11 Aug 2016 08:48:48 +0000 (09:48 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 11 Aug 2016 08:48:48 +0000 (09:48 +0100)
utils/rspamd_stats.pl

index 0d9571b4215005de2d45b8518a924b43b999272f..53b65cef0a9c57c3e2c93db7d24ba9688f4297aa 100644 (file)
@@ -20,9 +20,9 @@ my $help = 0;
 
 # Associate file extensions with decompressors
 my %decompressor = (
-    'bz2' => 'bzcat',
-    'gz'  => 'zcat',
-    'xz'  => 'xzcat',
+    'bz2' => 'bzip2 -cd',
+    'gz'  => 'gzip -cd',
+    'xz'  => 'xz -cd',
 );
 
 GetOptions(