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

Filippo Giunchedi <[email protected]>
Newsgroups gmane.linux.bluez.devel
Organization (null)
Message-ID <[email protected]>
On Sun, Feb 10, 2008 at 09:24:42PM +0100, Marcel Holtmann wrote:
> 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.

typo:

AM_CONDITIONAL([MIME_UPDATE], [test -n "$UPDATE_DESKTOP_DATABASE"])
												^^^^^^^

the rest looks good, thanks
filippo
--
Filippo Giunchedi - http://esaurito.net
PGP key: 0x6B79D401
random quote follows:

What a strange illusion it is to suppose that beauty is goodness.
-- Lev Tolstoj

-------------------------------------------------------------------------
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.