update-desktop-database location

Matthias Clasen mclasen at redhat.com
Mon Feb 6 17:14:03 EET 2006


On Mon, 2006-02-06 at 15:46 +0100, Christian Westgaard wrote:
> http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
> 
> Does not specify the location of the update-desktop-database script.
> 
> I currently test for XDG support like this:
> 
> if update-desktop-database --help >/dev/null 2>&1; then
> 
> But when update-desktop-database is not in $PATH, I'm out of luck.
> 
> Is there a better test? A specced one?
> 

Well, common sense suggests to look in /usr/bin. Does that really needs
to be explicit in the spec ? Come on.




More information about the xdg mailing list