From c7bd7f27b044bdfff356c7c4ea180d7d99bedc99 Mon Sep 17 00:00:00 2001 From: Simon Schampijer Date: Wed, 24 Nov 2010 20:47:38 +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 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''' -- cgit v0.9.1