]> git.parisson.com Git - telecaster-cgi.git/commitdiff
add log mkdir
authoryomguy <yomguy@parisson.com>
Fri, 19 Nov 2010 13:31:32 +0000 (13:31 +0000)
committeryomguy <yomguy@parisson.com>
Fri, 19 Nov 2010 13:31:32 +0000 (13:31 +0000)
install.py

index 7ce915c57d858c3566c775b4ad9d050f40827f0c..76b50fd7f84433b7e4a0c178aeef4f7c8a5541ed 100644 (file)
@@ -102,6 +102,10 @@ if not os.path.exists(apache_conf):
     shutil.copy('conf'+apache_conf, apache_conf)
 os.system('/etc/init.d/apache2 reload')
 
+log_dir = '/var/log/telecaster'
+os.mkdir(log_dir)
+os.system('chown -R ' + user + ':' + user + ' ' + log_dir) 
+
 print """
    Installation successfull !