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:39:09 (GMT)
committer Simon Schampijer <simon@schampijer.de>2010-11-24 20:39:09 (GMT)
commitaadfeed305dae9b5194e3410c210d891fcc11e5e (patch)
treea3fd374d0989fe90937a945daddababa32e227a4
parent1adc165a8cff40a39fe4351af0fce9748e73900e (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 b189aaf..2c6aff2 100644
--- a/src/sugar/activity/bundlebuilder.py
+++ b/src/sugar/activity/bundlebuilder.py
@@ -276,6 +276,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"""