diff options
author | Walter Bender <walter.bender@gmail.com> | 2012-03-27 19:48:25 (GMT) |
---|---|---|
committer | Walter Bender <walter.bender@gmail.com> | 2012-03-27 19:48:25 (GMT) |
commit | 67bca8169112a7936e2efc17fb3d8b26cf8f724a (patch) | |
tree | 417f76bd7b490cee03b8f759274bbd3638b72435 /TurtleArtActivity.py | |
parent | 462221f5fb27f5b641eb758603f957c7dd14bb07 (diff) |
save plugin.info in plugin directory
Diffstat (limited to 'TurtleArtActivity.py')
-rw-r--r-- | TurtleArtActivity.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/TurtleArtActivity.py b/TurtleArtActivity.py index cc3b7c6..a30ec42 100644 --- a/TurtleArtActivity.py +++ b/TurtleArtActivity.py @@ -873,6 +873,9 @@ Plugin section of plugin.info file.') ''' We complete the installation directly or from ConfirmationAlert ''' status = subprocess.call(['cp', '-r', tmp_path, plugin_path + '/']) if status == 0: + # Save the plugin.info file in the plugin directory + subprocess.call(['cp', os.path.join(tmp_dir, 'plugin.info'), + os.path.join(plugin_path, plugin_name) + '/']) _logger.debug('Plugin installed successfully.') if self.has_toolbarbox: create_palette = False |