From 67bca8169112a7936e2efc17fb3d8b26cf8f724a Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Tue, 27 Mar 2012 19:48:25 +0000 Subject: save plugin.info in plugin directory --- (limited to 'TurtleArtActivity.py') 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 -- cgit v0.9.1