Re: Bug in GARNOME 0.13.1 GConf Makefile (was Gconf won't let GNOME run!)



--- Jeff Waugh <jdub perkypants org> wrote:
> <quote who="James J. Ramsey">
> 
> > Further, whether or not GARNOME'S system worked
> before, it is *broken*
> > now. If the files "/etc/gconf/1/path",
> "/etc/gconf/gconf.xml.mandatory",
> > and "/etc/gconf/gconf.xml.defaults" are not on a
> system where GARNOME is
> > installed, GARNOME will not run at all, period. In
> my book, a bug that
> > prevents startup is Very Bad(TM).
> 
> Patches accepted!

Not exactly a patch, but I think I know how to fix the
Makefile. Change 

echo "xml:readonly:/etc/gconf/gconf.xml.mandatory" >>
$(sysconfdir)/gconf/2/path ;

and

echo "xml:readonly:/etc/gconf/gconf.xml.defaults" >>
$(sysconfdir)/gconf/2/path ;

to

if test -f /etc/gconf/gconf.xml.mandatory; \
echo "xml:readonly:/etc/gconf/gconf.xml.mandatory" >>
$(sysconfdir)/gconf/2/path ; \
fi; \

and

if test -f /etc/gconf/gconf.xml.defaults; \
echo "xml:readonly:/etc/gconf/gconf.xml.defaults" >>
$(sysconfdir)/gconf/2/path ; \
fi; \



__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]