diff options
Diffstat (limited to 'network/awstats/patches/awstats_configure.pl.patch')
-rw-r--r-- | network/awstats/patches/awstats_configure.pl.patch | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/network/awstats/patches/awstats_configure.pl.patch b/network/awstats/patches/awstats_configure.pl.patch index 20c4e127f7..07836f2fde 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 2016-05-13 15:17:18.396302299 -0500 -+++ tools/awstats_configure.pl 2016-05-13 16:09:13.880063387 -0500 -@@ -27,13 +27,13 @@ +--- tools/awstats_configure.pl.orig 2017-04-03 21:17:54.645112534 -0500 ++++ tools/awstats_configure.pl 2017-04-03 21:22:25.593441681 -0500 +@@ -27,11 +27,11 @@ $AWSTATS_MODEL_CONFIG $AWSTATS_DIRDATA_PATH /; @@ -15,10 +15,7 @@ +$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"; @@ -34,7 +31,7 @@ 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"; |