GNOME Bugzilla – Bug 701059
update-desktop-database trigger does not run
Last modified: 2013-05-26 19:09:10 UTC
jhbuild contains a trigger 'desktop-database.trigger' which should run update-desktop-database after any application is installed. But I just installed several applications with jhbuild and found that update-desktop-database did not run: my local install dir's mimeinfo.cache file was empty.
Created attachment 245352 [details] [review] fix I believe the problem is simply that the path in desktop-database.trigger is wrong: it's looking for .desktop files to be installed in subdirectories of $(prefix)/share/applications, i.e. $(prefix)/share/applications/appname/appname.desktop. But I'm not aware of any application which installs desktop files in such a location; as far as I'm aware desktop files always go in share/applications directly. Here's a fix.
Review of attachment 245352 [details] [review]: Oops, yes. Looks right.
Pushed the fix.