@@ -25,7 +25,7 @@ def download(self, downloads):
2525 args .extend (CommandBase ._strip_args (downloads ))
2626 return self ._exec (args )
2727
28- def install (self , installs , run_post_install = None , skip_post_install = None ):
28+ def install (self , installs , run_post_install = None , skip_post_install = None , no_overwrite = None ):
2929 """
3030 Calls the :code:`core download` command
3131
@@ -35,6 +35,8 @@ def install(self, installs, run_post_install=None, skip_post_install=None):
3535 :type run_post_install: bool or NoneType
3636 :param skip_post_install: Force skip of post-install scripts
3737 :type skip_post_install: bool or NoneType
38+ :param no_overwrite: Do not overwrite already installed platforms
39+ :type no_overwrite: bool or NoneType
3840 :return: The output of the related command
3941 :rtype: dict
4042 """
@@ -44,6 +46,8 @@ def install(self, installs, run_post_install=None, skip_post_install=None):
4446 args .append (flags .RUN_POST_INSTALL )
4547 if skip_post_install is True :
4648 args .append (flags .SKIP_POST_INSTALL )
49+ if no_overwrite is True :
50+ args .append (flags .NO_OVERWRITE )
4751 return self ._exec (args )
4852
4953 def list (self , updatable = None , all = None ):
0 commit comments