GConf little patch
- From: Alvaro Lopez Ortega <alvaro 0x50 org>
- To: garnome-list gnome org
- Subject: GConf little patch
- Date: 21 May 2002 22:33:08 +0200
Hi all :)
This is a little patch for gnome/GConf/Makefile.
Garnome 0.10.0 doesn't work if you haven't got a previous installation
of GNOME... and that is not a good thing, isn't it? :)
--
Greetings, alo.
Index: Makefile
===================================================================
RCS file: /cvs/gnome/garnome/garnome/gnome/GConf/Makefile,v
retrieving revision 1.7
diff -u -b -B -w -p -r1.7 Makefile
--- Makefile 19 May 2002 11:33:44 -0000 1.7
+++ Makefile 21 May 2002 21:35:24 -0000
@@ -21,4 +21,9 @@ include ../../gar.mk
post-install:
@echo " ==> Configuring cross-prefix GARNOME compatibility..."
@$(prefix)/bin/gconftool-2 --get-default-source > $(sysconfdir)/gconf/schema-install-source
- @grep gconf.xml /etc/gconf/1/path >> $(sysconfdir)/gconf/2/path
+ @if [ -f /etc/gconf/1/path ]; then \
+ grep gconf.xml /etc/gconf/1/path >> $(sysconfdir)/gconf/2/path ;\
+ else ;\
+ echo "xml:readonly:/etc/gconf/gconf.xml.mandatory" > $(sysconfdir)/gconf/2/path ;\
+ echo "xml:readonly:/etc/gconf/gconf.xml.defaults" >> $(sysconfdir)/gconf/2/path ;\
+ fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]