From: yomguy <> Date: Fri, 19 Nov 2010 13:31:32 +0000 (+0000) Subject: add log mkdir X-Git-Tag: 0.9~192 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=c4c20f6a0251fb4c65a81f0e00cb23ce020eaf8a;p=telecaster-client.git add log mkdir --- diff --git a/install.py b/install.py index 7ce915c..76b50fd 100644 --- a/install.py +++ b/install.py @@ -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 !