update-desktop-database location

Daniel Stone daniel at freedesktop.org
Tue Feb 7 17:43:42 EET 2006


On Tue, Feb 07, 2006 at 04:40:56PM +0100, Stanislav Brabec wrote:
> Christian Westgaard p??e v ?t 07. 02. 2006 v 15:45 +0100:
> > > But you can use:
> > > update-desktop-database 2>/dev/null || true
> > >
> > > Or specifically in current version of SuSE:
> > > SuSEconfig --module desktop-file-utils
> > > It is started after installation of any package.
> > 
> > I thought the idea was, not to have one check for every distro/version of distro,
> > but to have one common way, defined by a standard.
> 
> I understand.
> 
> And what about adding pkg-config file desktop-file-utils.pc, as other
> packages do. It can provide correct value of prefix, bindir etc.

Surely this just shifts the problem to a more obscure one?  This way,
you'll need to keep $(prefix)/lib/pkgconfig in $PKG_CONFIG_PATH, rather
than only having to remember to update $PATH.

Cheers,
Daniel



More information about the xdg mailing list