]> git.parisson.com Git - telecaster-cgi.git/commitdiff
bugfix
authoryomguy <yomguy@parisson.com>
Mon, 22 Nov 2010 22:31:39 +0000 (22:31 +0000)
committeryomguy <yomguy@parisson.com>
Mon, 22 Nov 2010 22:31:39 +0000 (22:31 +0000)
install.py

index 6b3149206e2f6e742bdcb185b7c9ad4b6cdb575e..53201ed699cb84c878a9da4e72337dad157fd3b9 100644 (file)
@@ -99,7 +99,7 @@ for dir in home_dirs:
 
 dir = 'media'
 home_dir = home + os.sep + dir
-if not os.path.exists():
+if not os.path.exists(home_dir):
     shutil.copytree('conf/home/'+dir, home_dir, ignore=shutil.ignore_patterns('*.svn*'))
     os.system('chown -R ' + user + ':' + user + ' ' + home_dir)