The attached patch fixes some bashisms in the xdg-utils scripts, specifically the test for LXDE.
Created attachment 42005 [details] [review] bashisms.diff
Fixed that as part of another recent commit, http://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=a9d65ff51ce0dd40cf0cb39b0f3c36dca100c527
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.