Description: don't call update-desktop-database/update-mime-database at install time
 They create database files that we don't want in the binary package,
 those are updated at package installation automatically (via postinst
 or through triggers).
Author: Raphaël Hertzog <hertzog@debian.org>
Forwarded: not-needed

--- a/setup.py
+++ b/setup.py
@@ -177,8 +177,8 @@ class zim_install_class(install_class):
 		icon = os.path.join('data', 'zim.png')
 		mimedir = os.path.join(self.install_data, 'share', 'mime')
 		for cmd in (
-			('update-desktop-database',),
-			('update-mime-database', mimedir),
+			#('update-desktop-database',),
+			#('update-mime-database', mimedir),
 			('xdg-icon-resource', 'install', '--context', 'apps', '--size', '64', icon, '--novendor'),
 			('xdg-icon-resource', 'install', '--context', 'mimetypes',  '--size', '64', icon, 'application-x-zim-notebook'),
 		):
