Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Schampijer <simon@schampijer.de>2010-11-24 20:47:38 (GMT)
committer Simon Schampijer <simon@schampijer.de>2010-11-24 20:47:38 (GMT)
commitc7bd7f27b044bdfff356c7c4ea180d7d99bedc99 (patch)
tree55a0218d35b015add775755527f469b93fb50152
parentdb46363e9d35f04060eae11ab9198e42d679d284 (diff)
bundlebuilder: install mimetypes.xml and associated icon #2262
As we do create the ActivityBundle in the config of the bundlebuilder we can use the code from the activitybundle as well to install the mime type. Reviewed-By: Sascha Silbe <sascha-pgp@silbe.org>
-rw-r--r--src/sugar/activity/bundlebuilder.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sugar/activity/bundlebuilder.py b/src/sugar/activity/bundlebuilder.py
index fc8ebc8..dd7c849 100644
--- a/src/sugar/activity/bundlebuilder.py
+++ b/src/sugar/activity/bundlebuilder.py
@@ -274,6 +274,8 @@ class Installer(object):
shutil.copy(source, dest)
+ self.config.bundle.install_mime_type(self.config.source_dir)
+
def cmd_dev(config, args):
'''Setup for development'''