From: timo Date: Sat, 13 Sep 2008 16:12:55 +0000 (+0000) Subject: fix setup target X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d94d656b7fa149b2dc7a210d10f2c9185dbb4840;p=xonotic%2Fnetradiant.git fix setup target git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@321 8a3a26a2-13c4-0310-b231-cf6edde360e5 --- diff --git a/config.py b/config.py index b8c4856b..30f623df 100644 --- a/config.py +++ b/config.py @@ -267,7 +267,11 @@ class Config: self.CheckoutOrUpdate( svnurl, os.path.join( path, 'installs', pak ) ) def Setup( self ): - if ( platform == 'local' ): + try: + self.setup_platforms.index( 'local' ) + except: + pass + else: # special case, fetch external paks under the local install directory self.FetchGamePaks( self.install_directory ) # NOTE: unrelated to self.setup_platforms - grab support files and binaries and install them