From 67ec8861d7c3448d4052b895b9f3873e98dc0842 Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Thu, 4 Apr 2013 12:21:33 +0200 Subject: [PATCH] awstats_configure.pl not available on gentoo and also not even a good idea to use because it breaks our webserver config and more; fixes #1085 Signed-off-by: Michael Kaufmann (d00p) --- lib/configfiles/gentoo.inc.php | 1 - lib/configfiles/sle10.inc.php | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/configfiles/gentoo.inc.php b/lib/configfiles/gentoo.inc.php index 60157843..9a9ffe96 100644 --- a/lib/configfiles/gentoo.inc.php +++ b/lib/configfiles/gentoo.inc.php @@ -415,7 +415,6 @@ milter_default_action = accept" >> /etc/postfix/main.cf', 'label' => 'Awstats', 'commands' => Array( 'emerge awstats', - 'awstats_configure.pl', 'sed -i.bak \'s/^DirData/# DirData/\' '.makeCorrectFile($settings['system']['awstats_conf'].'/awstats.model.conf') ), ), diff --git a/lib/configfiles/sle10.inc.php b/lib/configfiles/sle10.inc.php index 94f3c8f0..4a9404ef 100644 --- a/lib/configfiles/sle10.inc.php +++ b/lib/configfiles/sle10.inc.php @@ -175,8 +175,7 @@ return Array( 'awstats' => Array( 'label' => 'Awstats', 'commands' => Array( - 'awstats_configure.pl', - makeCorrectFile($settings['system']['awstats_conf'].'/awstats.conf').' '.makeCorrectFile($settings['system']['awstats_conf'].'/awstats.model.conf'), + 'mv '.makeCorrectFile($settings['system']['awstats_conf'].'/awstats.conf').' '.makeCorrectFile($settings['system']['awstats_conf'].'/awstats.model.conf'), 'sed -i.bak \'s/^DirData/# DirData/\' '.makeCorrectFile($settings['system']['awstats_conf'].'/awstats.model.conf') ) )