From ef1156e6a89f9bda1ea95fe5e00f0f8ad414c0bd Mon Sep 17 00:00:00 2001 From: yomguy Date: Fri, 19 Nov 2010 13:39:39 +0000 Subject: [PATCH] fix svn copy --- install.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.py b/install.py index 76b50fd..086933c 100644 --- a/install.py +++ b/install.py @@ -73,7 +73,7 @@ os.system('chown -R ' + user + ':' + user + ' ' + install_dir) conf_dir = '/etc/telecaster' if not os.path.exists(conf_dir): - shutil.copytree('conf'+conf_dir, conf_dir) + shutil.copytree('conf'+conf_dir, conf_dir, ignore=shutil.ignore_patterns('*.svn*')) daemons = ['jackd', 'vncserver'] init_dir = '/etc/init.d/' @@ -94,7 +94,7 @@ home_dirs = ['fluxbox', 'vnc'] for dir in home_dirs: home_dir = home + '/.' + dir if not os.path.exists(home_dir): - shutil.copytree('conf/home/'+dir, home_dir) + shutil.copytree('conf/home/'+dir, home_dir, ignore=shutil.ignore_patterns('*.svn*')) os.system('chown -R ' + user + ':' + user + ' ' + home_dir) apache_conf = '/etc/apache2/sites-available/telecaster.conf' -- 2.39.5