Changes related to missing awstats icon location block in Nginx vhosts and Awstats configuration on Gentoo

fixes #1228
fixed #1229
This commit is contained in:
Florian Lahr
2013-06-06 14:49:21 +02:00
parent fc4a93ff6e
commit a3ee1430ac
2 changed files with 8 additions and 0 deletions

View File

@@ -394,6 +394,7 @@ milter_default_action = accept" >> /etc/postfix/main.cf',
'commands' => Array(
'emerge awstats',
'sed -i.bak \'s/^DirData/# DirData/\' '.makeCorrectFile($settings['system']['awstats_conf'].'/awstats.model.conf'),
'sed -i.bak \'s|^\\(DirIcons=\\).*$|\\1\\"/awstats-icon\\"|\' '.makeCorrectFile($settings['system']['awstats_conf'].'/awstats.model.conf'),
'# Please make sure you deactivate awstats own cronjob as Froxlor handles that itself',
'rm /etc/cron.d/awstats'
),