summaryrefslogtreecommitdiff
path: root/network/awstats/patches/awstats_configure.pl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'network/awstats/patches/awstats_configure.pl.patch')
-rw-r--r--network/awstats/patches/awstats_configure.pl.patch15
1 files changed, 9 insertions, 6 deletions
diff --git a/network/awstats/patches/awstats_configure.pl.patch b/network/awstats/patches/awstats_configure.pl.patch
index 67871229ac..20c4e127f7 100644
--- a/network/awstats/patches/awstats_configure.pl.patch
+++ b/network/awstats/patches/awstats_configure.pl.patch
@@ -1,6 +1,6 @@
---- tools/awstats_configure.pl.orig 2014-01-29 09:06:10.000000000 -0600
-+++ tools/awstats_configure.pl 2014-03-01 09:09:03.516604388 -0600
-@@ -27,11 +27,11 @@
+--- tools/awstats_configure.pl.orig 2016-05-13 15:17:18.396302299 -0500
++++ tools/awstats_configure.pl 2016-05-13 16:09:13.880063387 -0500
+@@ -27,13 +27,13 @@
$AWSTATS_MODEL_CONFIG
$AWSTATS_DIRDATA_PATH
/;
@@ -15,7 +15,10 @@
+$AWSTATS_CLASSES_PATH='$AWSTATS_PATH/wwwroot/classes';
+$AWSTATS_CGI_PATH='$AWSTATS_PATH/wwwroot/cgi-bin';
$AWSTATS_MODEL_CONFIG='/etc/awstats/awstats.model.conf'; # Used only when configure ran on linux
- $AWSTATS_DIRDATA_PATH='/var/lib/awstats'; # Used only when configure ran on linux
+-$AWSTATS_DIRDATA_PATH='/var/lib/awstats'; # Used only when configure ran on linux
++$AWSTATS_DIRDATA_PATH='/var/lib/awstats'; # Used only when configure ran on linux
+
+
@@ -305,7 +305,7 @@
print "\n-----> Running OS detected: $OSLib{$OS}\n";
@@ -31,13 +34,13 @@
if ($WebServerChanged) {
if ($OS eq 'linux') {
- if (-f "/etc/debian_version") {
-+ if (-f "/etc/slackware-version") {
++ if (-f "/etc/slackware-version") {
+ # We are on Slackware :)
+ my $command="/etc/rc.d/rc.httpd restart";
+ print "\n-----> Restart Web server with '$command'\n";
+ my $ret=`$command`;
+ print "$ret";
-+ } elsif (-f "/etc/debian_version") {
++ } elsif (-f "/etc/debian_version") {
# We are on debian
my $command="/etc/init.d/apache restart";
print "\n-----> Restart Web server with '$command'\n";