Re: [PATCH] account for non-existant update-*-database

Marcel Holtmann <[email protected]>
Newsgroups gmane.linux.bluez.devel
Message-ID <1202675082.7664.111.camel@violet>
Hi Filippo,

> > > I've noticed a bug in bluez-gnome when update-*-database programs are not
> > > present (i.e. $UPDATE_*_DATABASE is "" thus install-data-hook fails), the
> > > following patch (or something similar) should work:
> > 
> > call --disable-*-update should be a good thing for packages. And then
> > have some post-install routines. Not doing the update is really a
> > problem, because it limits the functionality. So producing an error
> > seems fine to me.
> 
> I agree, note though that in this case the error is "permission denied" since
> make will try to execute a directory (e.g. $(DESTDIR)$(datadir)/mime) when
> UPDATE_*_DATABASE is "" which is not much straightforward.

I put something in the CVS now that should fix it. Please test it.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.