[PATCH] Do not run update-desktop-database on make install/uninstall

Jerome Leclanche jerome at leclan.ch
Mon Jun 1 04:42:47 CDT 2015

On 1 June 2015 at 10:50, Damjan Jovanovic <damjan.jov at gmail.com> wrote:
> Not all of us install Wine through a package manager, and
> update-desktop-database is useful in that case. What that Makefile
> should probably be doing instead, is calling update-desktop-database
> only on the desktop directory where wine.desktop was just installed,
> where it will succeed without root privileges, ie.:
>         -$(UPDATE_DESKTOP_DATABASE) $(DESTDIR)$(datadir)/applications
> Thank you
> Damjan

That's technically more correct but even worse, because building a
package (make install into a DESTDIR you will merely tarball) will
result in desktop db pollution. make install really shouldn't run
u-d-d at all - if you do make install and *want* to get desktop
associations, you can run it after make install, separately.

J. Leclanche

More information about the wine-devel mailing list