changeset 19932:371aa9261b1a

Do not rebuild MIME database during install (backout 737b5d449aaf) (bug #44404) * etc/icons/Makefile.am: the desktop file being installed have MIME type information which means that the MIME types application database must be rebuilt after install. However, this means that we also need to take care of it during uninstall and this is causing 'make distcheck' to fail (bug #44404). The freedesktop.org recommendation seems to be that this should be left to downstream packagers and that it is reasonable to expect that users know about rebuilding this database themselves (just like ldconfig). So do a partial backout of 737b5d449aaf, leave the MIMEType line and leave the update of MIME cache up to the user.
author Carnë Draug <carandraug@octave.org>
date Wed, 04 Mar 2015 11:29:47 +0000
parents 0e0a3bbe142f
children 2eed41ae3b64
files etc/icons/Makefile.am
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/etc/icons/Makefile.am	Tue Mar 03 10:40:36 2015 -0800
+++ b/etc/icons/Makefile.am	Wed Mar 04 11:29:47 2015 +0000
@@ -79,7 +79,7 @@
 install-data-local:
 	-if test -n "$(DESKTOP_FILE_INSTALL)"; then \
 	  $(DESKTOP_FILE_INSTALL) --dir=$(DESTDIR)$(datadir)/applications \
-	    --rebuild-mime-info-cache --vendor $(VENDOR) octave.desktop; \
+	    --vendor $(VENDOR) octave.desktop; \
 	fi
 	for f in $(BUILT_PNG_ICONS); do \
 	  size=`echo $$f | $(SED) -n -e "s/.*-\([0-9]\+\)\.png/\1/p"`; \