added apt-get command to awstats-configuration, fixes #28

This commit is contained in:
Michael Kaufmann (d00p)
2010-02-24 06:29:42 +00:00
parent f8b3da48fc
commit 525499b987
3 changed files with 3 additions and 0 deletions

View File

@@ -248,6 +248,7 @@ return Array(
($settings['system']['webserver'] == 'lighttpd' ? 'etc_lighttpd_froxlor-awstats.conf' : 'etc_apache_vhosts_05_awstats.conf') => ($settings['system']['webserver'] == 'lighttpd' ? '/etc/lighttpd/froxlor-awstats.conf' : '/etc/apache2/sites-enabled/05_awstats.conf')
),
'commands' => Array(
'apt-get install awstats',
($settings['system']['webserver'] == 'lighttpd' ? 'echo "include \"froxlor-awstats.conf\"" >> /etc/lighttpd/lighttpd.conf' : '')
),
'restart' => Array(