'xdg-desktop-menu install --novendor' hangs because $XDG_DATA_HOME/applications/defaults.list is missing
Submitted by Yuri
Assigned to Portland Bugs
Link to original bug (#104135)
Description
In the FreeBSD port, the command
XDG_DATA_HOME=/usr/ports/misc/Drawpile/work xdg-desktop-menu install --novendor desktop/drawpile.desktop hangs because it expects the file $XDG_DATA_HOME/applications/defaults.list which is missing. It does 'grep -v image/png= {empty-file}' from it, and grep hangs because the file name is empty.