Skip to content

Commit a97c188

Browse files
committed
fix
1 parent 6b62952 commit a97c188

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,8 @@ def FetchGamePaks( self, path ):
269269
cmd = [ 'git', 'clone', 'git://github.com/jdolan/quake2world.git' ]
270270
subprocess.check_call( cmd )
271271
# squash and sync..
272-
shutil.rmtree( 'install/installs/Q2WPack/' )
272+
if ( os.path.exists( 'install/installs/Q2WPack' ) ):
273+
shutil.rmtree( 'install/installs/Q2WPack/' )
273274
shutil.copytree( 'quake2world/gtkradiant/Q2WPack/', 'install/installs/Q2WPack/' )
274275

275276
def CopyTree( self, src, dst):

0 commit comments

Comments
 (0)