From 383796c325de2dbb32c5c02157777d2d06d39f0b Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Sat, 26 Nov 2016 11:43:49 +0200 Subject: [PATCH] build: update the desktop database after installing the desktop file This makes the option to choose Notmuch as mailto: handler show up in the desktop environment settings. Ignore errors. --- emacs/Makefile.local | 1 + 1 file changed, 1 insertion(+) diff --git a/emacs/Makefile.local b/emacs/Makefile.local index 2cfa77ff..040e64d4 100644 --- a/emacs/Makefile.local +++ b/emacs/Makefile.local @@ -109,6 +109,7 @@ endif ifeq ($(WITH_DESKTOP),1) mkdir -p "$(DESTDIR)$(desktop_dir)" desktop-file-install --mode 0644 --dir "$(DESTDIR)$(desktop_dir)" $(emacs_mua_desktop) + -update-desktop-database "$(DESTDIR)$(desktop_dir)" endif CLEAN := $(CLEAN) $(emacs_bytecode) $(dir)/notmuch-version.el $(dir)/notmuch-pkg.el -- 2.43.0