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
On Sun, May 31, 2015 at 8:12 AM, Jerome Leclanche jerome@leclan.ch wrote:
This causes root invocations of "make install" in a chroot to error It is the maintainer's or the package manager's job to run it, instead.
Fixes bug #35191
J. Leclanche