diff options
author | D.M.D. Ljungmark <spider@gentoo.org> | 2002-06-12 02:40:00 +0000 |
---|---|---|
committer | D.M.D. Ljungmark <spider@gentoo.org> | 2002-06-12 02:40:00 +0000 |
commit | 9b8189b25cd390817f2d0d12e47fcaae2054a40a (patch) | |
tree | 1f85eaf4022f0e9fe6d406898dd1c928324b886a /eclass/gnome2.eclass | |
parent | Another non-working snapshot. (diff) | |
download | gentoo-2-9b8189b25cd390817f2d0d12e47fcaae2054a40a.tar.gz gentoo-2-9b8189b25cd390817f2d0d12e47fcaae2054a40a.tar.bz2 gentoo-2-9b8189b25cd390817f2d0d12e47fcaae2054a40a.zip |
New eclass version that doesnt need the SCHEMAS variable
Diffstat (limited to 'eclass/gnome2.eclass')
-rw-r--r-- | eclass/gnome2.eclass | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass index 18ea36c6944d..aa92a138e4f9 100644 --- a/eclass/gnome2.eclass +++ b/eclass/gnome2.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.12 2002/06/12 00:05:40 spider Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.13 2002/06/12 02:40:00 spider Exp $ inherit libtool inherit debug @@ -47,24 +47,17 @@ gnome2_src_install() { # only update scrollkeeper if this package needs it [ -d ${D}/var/lib/scrollkeeper ] && SCROLLKEEPER_UPDATE="1" - } gnome2_pkg_postinst() { - + # No more SCHEMAS variable :) + export GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` + + cat ${WORKDIR}/../build-info/CONTENTS | grep "obj /etc/gconf/schemas" | sed 's:obj \([^ ]*\) .*:\1:' |while read F; do + /usr/bin/gconftool-2 --makefile-install-rule ${F} + done + # schema installation - if [ -n "${SCHEMAS}" ] - then - - # install/update schemas the hard way - export GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` - echo ">>> Updating GConf2 Schemas for ${P}" - for x in $SCHEMAS - do - /usr/bin/gconftool-2 --makefile-install-rule \ - /etc/gconf/schemas/${x} - done - fi if [ -x /usr/bin/scrollkeeper-update ] && [ SCROLLKEEPER_UPDATE = "1" ] then |