tbrehm
2009-03-04 5518df67f0408f489bcd208503cf1d3bfeeb8a98
Fixed installer errors:

chmod: cannot access `/var/log/clamav/clamav.log': No such file or directory
chmod: cannot access `/var/log/clamav/freshclam.log': No such file or directory
1 files modified
6 ■■■■■ changed files
install/lib/installer_base.lib.php 6 ●●●●● patch | view | raw | blame | history
install/lib/installer_base.lib.php
@@ -1001,10 +1001,6 @@
            
        }
        
        // Make the Clamav log files readable by ISPConfig
        exec('chmod +r /var/log/clamav/clamav.log');
        exec('chmod +r /var/log/clamav/freshclam.log');
        //* Install the SVN update script
        exec('cp ../helper_scripts/update_from_svn.sh /usr/local/bin/ispconfig_update_from_svn.sh');
        exec('chown root /usr/local/bin/ispconfig_update_from_svn.sh');
@@ -1015,6 +1011,8 @@
        if(@is_file('/var/log/mail.warn')) exec('chmod +r /var/log/mail.warn');
        if(@is_file('/var/log/mail.err')) exec('chmod +r /var/log/mail.err');
        if(@is_file('/var/log/messages')) exec('chmod +r /var/log/messages');
        if(@is_file('/var/log/clamav/clamav.log')) exec('chmod +r /var/log/clamav/clamav.log');
        if(@is_file('/var/log/clamav/freshclam.log')) exec('chmod +r /var/log/clamav/freshclam.log');
        
        //* Create the ispconfig log directory
        if(!is_dir('/var/log/ispconfig')) mkdir('/var/log/ispconfig');