From aadfeed305dae9b5194e3410c210d891fcc11e5e Mon Sep 17 00:00:00 2001 From: Simon Schampijer Date: Wed, 24 Nov 2010 20:39:09 +0000 Subject: 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 --- 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""" -- cgit v0.9.1