--- scripts/logwatch.pl 2014-09-23 07:52:51.000000000 -0400
+++ scripts/logwatch.pl 2016-02-10 12:55:27.000000000 -0500
-my $BaseDir = "/usr/share/logwatch";
-my $ConfigDir = "/etc/logwatch";
+my $BaseDir = "@PREFIX@/share/logwatch";
+my $ConfigDir = "@PREFIX@/etc/logwatch";
#############################################################################
$Config{'range'} = "yesterday";
-$Config{'tmpdir'} = "/var/cache/logwatch";
+$Config{'tmpdir'} = "@PREFIX@/var/cache/logwatch";
$Config{'pathtocat'} = "cat";
-$Config{'pathtozcat'} = "zcat";
+$Config{'pathtozcat'} = "gunzip -c";
$Config{'pathtobzcat'} = "bzcat";
$Config{'output'} = "stdout"; #8.0
$Config{'format'} = "text"; #8.0
# Logwatch now does some basic searching for logs
# So if the log file is not in the log path it will check /var/adm
-$Config{'logdir'} = "/var/log";
+$Config{'logdir'} = "@PREFIX@/var/log";
#Added to create switches for different os options -mgt
#Changed to POSIX to remove calls to uname and hostname