From a97c188cdb255dd03dcedcc23cb6e38d9a25214a Mon Sep 17 00:00:00 2001 From: "Timothee \"TTimo\" Besset" Date: Sat, 15 Jun 2013 21:09:42 -0500 Subject: [PATCH] fix --- config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config.py b/config.py index 63e5276f..f11318f1 100644 --- a/config.py +++ b/config.py @@ -269,7 +269,8 @@ class Config: cmd = [ 'git', 'clone', 'git://github.com/jdolan/quake2world.git' ] subprocess.check_call( cmd ) # squash and sync.. - shutil.rmtree( 'install/installs/Q2WPack/' ) + if ( os.path.exists( 'install/installs/Q2WPack' ) ): + shutil.rmtree( 'install/installs/Q2WPack/' ) shutil.copytree( 'quake2world/gtkradiant/Q2WPack/', 'install/installs/Q2WPack/' ) def CopyTree( self, src, dst):