From 3133576d0c0aa6498b9bcbc9902ce2dada79e9af Mon Sep 17 00:00:00 2001 From: Marinus Schraal Date: Thu, 3 Aug 2006 17:04:47 +0000 Subject: restart gconf daemon after installing new schemas (#132862) --- eclass/gnome2.eclass | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'eclass/gnome2.eclass') diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass index b17bf19e0bb3..8bb6abaf9e3a 100644 --- a/eclass/gnome2.eclass +++ b/eclass/gnome2.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.72 2006/06/12 14:40:49 allanonjl Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.73 2006/08/03 17:04:47 foser Exp $ # GNOME 2 ECLASS inherit libtool gnome.org debug fdo-mime eutils @@ -102,6 +102,7 @@ gnome2_src_install() { gnome2_gconf_install() { + if [[ -x ${GCONFTOOL_BIN} ]]; then # We are ready to install the GCONF Scheme now unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL @@ -117,7 +118,13 @@ gnome2_gconf_install() { ${GCONFTOOL_BIN} --makefile-install-rule ${F} 1>/dev/null fi done + + # have gconf reload the new schemas + ebegin "Reloading GConf schemas" + killall -HUP gconfd-2 + eend $? fi + } gnome2_gconf_uninstall() { -- cgit v1.2.3-65-gdbad